查看: 694|回复: 0
打印 上一主题 下一主题

帮忙转换下 指标

[复制链接]
跳转到指定楼层
1
 楼主| 发表于 2023-12-2 15:21:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
//神龙通道(小熊)//

DQSJ:=981220;//定义软件使用时间的最后期限
SSS:=IF(DATE<DQSJ,1,0);//将软件使用时间的最后期限做为条件,然后此相乘主要变量。
HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;
LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;
D90H:=EMA(HH,90)*SSS,COLORRED,LINETHICK1;
D90L:=EMA(LL,90)*SSS,COLORRED,LINETHICK1;
DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;
DDL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;
D90C:=D90H-D90L;
D90D:=D90H+D90C*2,COLORRED,LINETHICK1;
D90T:=D90L-D90C*2,COLORRED,LINETHICK1;
KK:=H;
BB1:=IF(ISNULL(REFX(KK,1)),0,REFX(KK,1))+IF(ISNULL(REFX(KK,2)),0,REFX(KK,2))+IF(ISNULL(REFX(KK,3)),0,REFX(KK,3))+IF(ISNULL(REFX(KK,4)),0,REFX(KK,4))+IF(ISNULL(REFX(KK,5)),0,REFX(KK,5))+IF(ISNULL(REFX(KK,6)),0,REFX(KK,6))+IF(ISNULL(REFX(KK,7)),0,REFX(KK,7))+IF(ISNULL(REFX(KK,8)),0,REFX(KK,8))+IF(ISNULL(REFX(KK,9)),0,REFX(KK,9))+IF(ISNULL(REFX(KK,10)),0,REFX(KK,10))+IF(ISNULL(REFX(KK,11)),0,REFX(KK,11))+IF(ISNULL(REFX(KK,12)),0,REFX(KK,12))+IF(ISNULL(REFX(KK,13)),0,REFX(KK,13))+IF(ISNULL(REFX(KK,14)),0,REFX(KK,14))+IF(ISNULL(REFX(KK,15)),0,REFX(KK,15))+IF(ISNULL(REFX(KK,16)),0,REFX(KK,16))+IF(ISNULL(REFX(KK,17)),0,REFX(KK,17))+IF(ISNULL(REFX(KK,18)),0,REFX(KK,18))+IF(ISNULL(REFX(KK,19)),0,REFX(KK,19))+IF(ISNULL(REFX(KK,20)),0,REFX(KK,20))+IF(ISNULL(REFX(KK,21)),0,REFX(KK,21))+IF(ISNULL(REFX(KK,22)),0,REFX(KK,22))+IF(ISNULL(REFX(KK,23)),0,REFX(KK,23))+IF(ISNULL(REFX(KK,24)),0,REFX(KK,24))+IF(ISNULL(REFX(KK,25)),0,REFX(KK,25))+IF(ISNULL(REFX(KK,26)),0,REFX(KK,26))+IF(ISNULL(REFX(KK,27)),0,REFX(KK,27))+IF(ISNULL(REFX(KK,28)),0,REFX(KK,28))+IF(ISNULL(REFX(KK,29)),0,REFX(KK,29));
BB2:=ISNULL(REFX(KK,1))+ISNULL(REFX(KK,2))+ISNULL(REFX(KK,3))+ISNULL(REFX(KK,4))+ISNULL(REFX(KK,5))+ISNULL(REFX(KK,6))+ISNULL(REFX(KK,7))+ISNULL(REFX(KK,8))+ISNULL(REFX(KK,9))+ISNULL(REFX(KK,10))+ISNULL(REFX(KK,11))+ISNULL(REFX(KK,12))+ISNULL(REFX(KK,13))+ISNULL(REFX(KK,14))+ISNULL(REFX(KK,15))+ISNULL(REFX(KK,16))+ISNULL(REFX(KK,17))+ISNULL(REFX(KK,18))+ISNULL(REFX(KK,19))+ISNULL(REFX(KK,20))+ISNULL(REFX(KK,21))+ISNULL(REFX(KK,22))+ISNULL(REFX(KK,23))+ISNULL(REFX(KK,24))+ISNULL(REFX(KK,25))+ISNULL(REFX(KK,26))+ISNULL(REFX(KK,27))+ISNULL(REFX(KK,28))+ISNULL(REFX(KK,29));
BB3:=(SUM(KK,31)+BB1)/(60-BB2);
KK1:=BB3;
BB4:=IF(ISNULL(REFX(KK1,1)),0,REFX(KK1,1))+IF(ISNULL(REFX(KK1,2)),0,REFX(KK1,2))+IF(ISNULL(REFX(KK1,3)),0,REFX(KK1,3))+IF(ISNULL(REFX(KK1,4)),0,REFX(KK1,4))+IF(ISNULL(REFX(KK1,5)),0,REFX(KK1,5))+IF(ISNULL(REFX(KK1,6)),0,REFX(KK1,6))+IF(ISNULL(REFX(KK1,7)),0,REFX(KK1,7))+IF(ISNULL(REFX(KK1,8)),0,REFX(KK1,8))+IF(ISNULL(REFX(KK1,9)),0,REFX(KK1,9))+IF(ISNULL(REFX(KK1,10)),0,REFX(KK1,10))+IF(ISNULL(REFX(KK1,11)),0,REFX(KK1,11))+IF(ISNULL(REFX(KK1,12)),0,REFX(KK1,12))+IF(ISNULL(REFX(KK1,13)),0,REFX(KK1,13))+IF(ISNULL(REFX(KK1,14)),0,REFX(KK1,14))+IF(ISNULL(REFX(KK1,15)),0,REFX(KK1,15))+IF(ISNULL(REFX(KK1,16)),0,REFX(KK1,16))+IF(ISNULL(REFX(KK1,17)),0,REFX(KK1,17))+IF(ISNULL(REFX(KK1,18)),0,REFX(KK1,18))+IF(ISNULL(REFX(KK1,19)),0,REFX(KK1,19))+IF(ISNULL(REFX(KK1,20)),0,REFX(KK1,20))+IF(ISNULL(REFX(KK1,21)),0,REFX(KK1,21))+IF(ISNULL(REFX(KK1,22)),0,REFX(KK1,22))+IF(ISNULL(REFX(KK1,23)),0,REFX(KK1,23))+IF(ISNULL(REFX(KK1,24)),0,REFX(KK1,24))+IF(ISNULL(REFX(KK1,25)),0,REFX(KK1,25))+IF(ISNULL(REFX(KK1,26)),0,REFX(KK1,26))+IF(ISNULL(REFX(KK1,27)),0,REFX(KK1,27))+IF(ISNULL(REFX(KK1,28)),0,REFX(KK1,28))+IF(ISNULL(REFX(KK1,29)),0,REFX(KK1,29));
BB5:=ISNULL(REFX(KK1,1))+ISNULL(REFX(KK1,2))+ISNULL(REFX(KK1,3))+ISNULL(REFX(KK1,4))+ISNULL(REFX(KK1,5))+ISNULL(REFX(KK1,6))+ISNULL(REFX(KK1,7))+ISNULL(REFX(KK1,8))+ISNULL(REFX(KK1,9))+ISNULL(REFX(KK1,10))+ISNULL(REFX(KK1,11))+ISNULL(REFX(KK1,12))+ISNULL(REFX(KK1,13))+ISNULL(REFX(KK1,14))+ISNULL(REFX(KK1,15))+ISNULL(REFX(KK1,16))+ISNULL(REFX(KK1,17))+ISNULL(REFX(KK1,18))+ISNULL(REFX(KK1,19))+ISNULL(REFX(KK1,20))+ISNULL(REFX(KK1,21))+ISNULL(REFX(KK1,22))+ISNULL(REFX(KK1,23))+ISNULL(REFX(KK1,24))+ISNULL(REFX(KK1,25))+ISNULL(REFX(KK1,26))+ISNULL(REFX(KK1,27))+ISNULL(REFX(KK1,28))+ISNULL(REFX(KK1,29));
XXMA60H:=(SUM(KK1,31)+BB4)/(60-BB5);
KK2:=L;
DD1:=IF(ISNULL(REFX(KK2,1)),0,REFX(KK2,1))+IF(ISNULL(REFX(KK2,2)),0,REFX(KK2,2))+IF(ISNULL(REFX(KK2,3)),0,REFX(KK2,3))+IF(ISNULL(REFX(KK2,4)),0,REFX(KK2,4))+IF(ISNULL(REFX(KK2,5)),0,REFX(KK2,5))+IF(ISNULL(REFX(KK2,6)),0,REFX(KK2,6))+IF(ISNULL(REFX(KK2,7)),0,REFX(KK2,7))+IF(ISNULL(REFX(KK2,8)),0,REFX(KK2,8))+IF(ISNULL(REFX(KK2,9)),0,REFX(KK2,9))+IF(ISNULL(REFX(KK2,10)),0,REFX(KK2,10))+IF(ISNULL(REFX(KK2,11)),0,REFX(KK2,11))+IF(ISNULL(REFX(KK2,12)),0,REFX(KK2,12))+IF(ISNULL(REFX(KK2,13)),0,REFX(KK2,13))+IF(ISNULL(REFX(KK2,14)),0,REFX(KK2,14))+IF(ISNULL(REFX(KK2,15)),0,REFX(KK2,15))+IF(ISNULL(REFX(KK2,16)),0,REFX(KK2,16))+IF(ISNULL(REFX(KK2,17)),0,REFX(KK2,17))+IF(ISNULL(REFX(KK2,18)),0,REFX(KK2,18))+IF(ISNULL(REFX(KK2,19)),0,REFX(KK2,19))+IF(ISNULL(REFX(KK2,20)),0,REFX(KK2,20))+IF(ISNULL(REFX(KK2,21)),0,REFX(KK2,21))+IF(ISNULL(REFX(KK2,22)),0,REFX(KK2,22))+IF(ISNULL(REFX(KK2,23)),0,REFX(KK2,23))+IF(ISNULL(REFX(KK2,24)),0,REFX(KK2,24))+IF(ISNULL(REFX(KK2,25)),0,REFX(KK2,25))+IF(ISNULL(REFX(KK2,26)),0,REFX(KK2,26))+IF(ISNULL(REFX(KK2,27)),0,REFX(KK2,27))+IF(ISNULL(REFX(KK2,28)),0,REFX(KK2,28))+IF(ISNULL(REFX(KK2,29)),0,REFX(KK2,29));
DD2:=ISNULL(REFX(KK2,1))+ISNULL(REFX(KK2,2))+ISNULL(REFX(KK2,3))+ISNULL(REFX(KK2,4))+ISNULL(REFX(KK2,5))+ISNULL(REFX(KK2,6))+ISNULL(REFX(KK2,7))+ISNULL(REFX(KK2,8))+ISNULL(REFX(KK2,9))+ISNULL(REFX(KK2,10))+ISNULL(REFX(KK2,11))+ISNULL(REFX(KK2,12))+ISNULL(REFX(KK2,13))+ISNULL(REFX(KK2,14))+ISNULL(REFX(KK2,15))+ISNULL(REFX(KK2,16))+ISNULL(REFX(KK2,17))+ISNULL(REFX(KK2,18))+ISNULL(REFX(KK2,19))+ISNULL(REFX(KK2,20))+ISNULL(REFX(KK2,21))+ISNULL(REFX(KK2,22))+ISNULL(REFX(KK2,23))+ISNULL(REFX(KK2,24))+ISNULL(REFX(KK2,25))+ISNULL(REFX(KK2,26))+ISNULL(REFX(KK2,27))+ISNULL(REFX(KK2,28))+ISNULL(REFX(KK2,29));
DD3:=(SUM(KK2,31)+DD1)/(60-DD2)*SSS;
KK3:=DD3;
DD4:=IF(ISNULL(REFX(KK3,1)),0,REFX(KK3,1))+IF(ISNULL(REFX(KK3,2)),0,REFX(KK3,2))+IF(ISNULL(REFX(KK3,3)),0,REFX(KK3,3))+IF(ISNULL(REFX(KK3,4)),0,REFX(KK3,4))+IF(ISNULL(REFX(KK3,5)),0,REFX(KK3,5))+IF(ISNULL(REFX(KK3,6)),0,REFX(KK3,6))+IF(ISNULL(REFX(KK3,7)),0,REFX(KK3,7))+IF(ISNULL(REFX(KK3,8)),0,REFX(KK3,8))+IF(ISNULL(REFX(KK3,9)),0,REFX(KK3,9))+IF(ISNULL(REFX(KK3,10)),0,REFX(KK3,10))+IF(ISNULL(REFX(KK3,11)),0,REFX(KK3,11))+IF(ISNULL(REFX(KK3,12)),0,REFX(KK3,12))+IF(ISNULL(REFX(KK3,13)),0,REFX(KK3,13))+IF(ISNULL(REFX(KK3,14)),0,REFX(KK3,14))+IF(ISNULL(REFX(KK3,15)),0,REFX(KK3,15))+IF(ISNULL(REFX(KK3,16)),0,REFX(KK3,16))+IF(ISNULL(REFX(KK3,17)),0,REFX(KK3,17))+IF(ISNULL(REFX(KK3,18)),0,REFX(KK3,18))+IF(ISNULL(REFX(KK3,19)),0,REFX(KK3,19))+IF(ISNULL(REFX(KK3,20)),0,REFX(KK3,20))+IF(ISNULL(REFX(KK3,21)),0,REFX(KK3,21))+IF(ISNULL(REFX(KK3,22)),0,REFX(KK3,22))+IF(ISNULL(REFX(KK3,23)),0,REFX(KK3,23))+IF(ISNULL(REFX(KK3,24)),0,REFX(KK3,24))+IF(ISNULL(REFX(KK3,25)),0,REFX(KK3,25))+IF(ISNULL(REFX(KK3,26)),0,REFX(KK3,26))+IF(ISNULL(REFX(KK3,27)),0,REFX(KK3,27))+IF(ISNULL(REFX(KK3,28)),0,REFX(KK3,28))+IF(ISNULL(REFX(KK3,29)),0,REFX(KK3,29));
DD5:=ISNULL(REFX(KK3,1))+ISNULL(REFX(KK3,2))+ISNULL(REFX(KK3,3))+ISNULL(REFX(KK3,4))+ISNULL(REFX(KK3,5))+ISNULL(REFX(KK3,6))+ISNULL(REFX(KK3,7))+ISNULL(REFX(KK3,8))+ISNULL(REFX(KK3,9))+ISNULL(REFX(KK3,10))+ISNULL(REFX(KK3,11))+ISNULL(REFX(KK3,12))+ISNULL(REFX(KK3,13))+ISNULL(REFX(KK3,14))+ISNULL(REFX(KK3,15))+ISNULL(REFX(KK3,16))+ISNULL(REFX(KK3,17))+ISNULL(REFX(KK3,18))+ISNULL(REFX(KK3,19))+ISNULL(REFX(KK3,20))+ISNULL(REFX(KK3,21))+ISNULL(REFX(KK3,22))+ISNULL(REFX(KK3,23))+ISNULL(REFX(KK3,24))+ISNULL(REFX(KK3,25))+ISNULL(REFX(KK3,26))+ISNULL(REFX(KK3,27))+ISNULL(REFX(KK3,28))+ISNULL(REFX(KK3,29));
XXMA60L:=(SUM(KK3,31)+DD4)/(60-DD5)*SSS;
MM:=H;
CC1:=IF(ISNULL(REFX(MM,1)),0,REFX(MM,1))+IF(ISNULL(REFX(MM,2)),0,REFX(MM,2))+IF(ISNULL(REFX(MM,3)),0,REFX(MM,3))+IF(ISNULL(REFX(MM,4)),0,REFX(MM,4))+IF(ISNULL(REFX(MM,5)),0,REFX(MM,5))+IF(ISNULL(REFX(MM,6)),0,REFX(MM,6))+IF(ISNULL(REFX(MM,7)),0,REFX(MM,7))+IF(ISNULL(REFX(MM,8)),0,REFX(MM,8))+IF(ISNULL(REFX(MM,9)),0,REFX(MM,9))+IF(ISNULL(REFX(MM,10)),0,REFX(MM,10))+IF(ISNULL(REFX(MM,11)),0,REFX(MM,11))+IF(ISNULL(REFX(MM,12)),0,REFX(MM,12));
CC2:=ISNULL(REFX(MM,1))+ISNULL(REFX(MM,2))+ISNULL(REFX(MM,3))+ISNULL(REFX(MM,4))+ISNULL(REFX(MM,5))+ISNULL(REFX(MM,6))+ISNULL(REFX(MM,7))+ISNULL(REFX(MM,8))+ISNULL(REFX(MM,9))+ISNULL(REFX(MM,10))+ISNULL(REFX(MM,11))+ISNULL(REFX(MM,12));
CC3:=(SUM(MM,13)+CC1)/(25-CC2)*SSS;
MM1:=CC3;
CC4:=IF(ISNULL(REFX(MM1,1)),0,REFX(MM1,1))+IF(ISNULL(REFX(MM1,2)),0,REFX(MM1,2))+IF(ISNULL(REFX(MM1,3)),0,REFX(MM1,3))+IF(ISNULL(REFX(MM1,4)),0,REFX(MM1,4))+IF(ISNULL(REFX(MM1,5)),0,REFX(MM1,5))+IF(ISNULL(REFX(MM1,6)),0,REFX(MM1,6))+IF(ISNULL(REFX(MM1,7)),0,REFX(MM1,7))+IF(ISNULL(REFX(MM1,8)),0,REFX(MM1,8))+IF(ISNULL(REFX(MM1,9)),0,REFX(MM1,9))+IF(ISNULL(REFX(MM1,10)),0,REFX(MM1,10))+IF(ISNULL(REFX(MM1,11)),0,REFX(MM1,11))+IF(ISNULL(REFX(MM1,12)),0,REFX(MM1,12));
CC5:=ISNULL(REFX(MM1,1))+ISNULL(REFX(MM1,2))+ISNULL(REFX(MM1,3))+ISNULL(REFX(MM1,4))+ISNULL(REFX(MM1,5))+ISNULL(REFX(MM1,6))+ISNULL(REFX(MM1,7))+ISNULL(REFX(MM1,8))+ISNULL(REFX(MM1,9))+ISNULL(REFX(MM1,10))+ISNULL(REFX(MM1,11))+ISNULL(REFX(MM1,12));
XXMA25H:=(SUM(MM1,13)+CC4)/(25-CC5)*SSS;
MM2:=L;
EE1:=IF(ISNULL(REFX(MM2,1)),0,REFX(MM2,1))+IF(ISNULL(REFX(MM2,2)),0,REFX(MM2,2))+IF(ISNULL(REFX(MM2,3)),0,REFX(MM2,3))+IF(ISNULL(REFX(MM2,4)),0,REFX(MM2,4))+IF(ISNULL(REFX(MM2,5)),0,REFX(MM2,5))+IF(ISNULL(REFX(MM2,6)),0,REFX(MM2,6))+IF(ISNULL(REFX(MM2,7)),0,REFX(MM2,7))+IF(ISNULL(REFX(MM2,8)),0,REFX(MM2,8))+IF(ISNULL(REFX(MM2,9)),0,REFX(MM2,9))+IF(ISNULL(REFX(MM2,10)),0,REFX(MM2,10))+IF(ISNULL(REFX(MM2,11)),0,REFX(MM2,11))+IF(ISNULL(REFX(MM2,12)),0,REFX(MM2,12));
EE2:=ISNULL(REFX(MM2,1))+ISNULL(REFX(MM2,2))+ISNULL(REFX(MM2,3))+ISNULL(REFX(MM2,4))+ISNULL(REFX(MM2,5))+ISNULL(REFX(MM2,6))+ISNULL(REFX(MM2,7))+ISNULL(REFX(MM2,8))+ISNULL(REFX(MM2,9))+ISNULL(REFX(MM2,10))+ISNULL(REFX(MM2,11))+ISNULL(REFX(MM2,12));
EE3:=(SUM(MM2,13)+EE1)/(25-EE2)*SSS;
MM3:=EE3;
EE4:=IF(ISNULL(REFX(MM3,1)),0,REFX(MM3,1))+IF(ISNULL(REFX(MM3,2)),0,REFX(MM3,2))+IF(ISNULL(REFX(MM3,3)),0,REFX(MM3,3))+IF(ISNULL(REFX(MM3,4)),0,REFX(MM3,4))+IF(ISNULL(REFX(MM3,5)),0,REFX(MM3,5))+IF(ISNULL(REFX(MM3,6)),0,REFX(MM3,6))+IF(ISNULL(REFX(MM3,7)),0,REFX(MM3,7))+IF(ISNULL(REFX(MM3,8)),0,REFX(MM3,8))+IF(ISNULL(REFX(MM3,9)),0,REFX(MM3,9))+IF(ISNULL(REFX(MM3,10)),0,REFX(MM3,10))+IF(ISNULL(REFX(MM3,11)),0,REFX(MM3,11))+IF(ISNULL(REFX(MM3,12)),0,REFX(MM3,12));
EE5:=ISNULL(REFX(MM3,1))+ISNULL(REFX(MM3,2))+ISNULL(REFX(MM3,3))+ISNULL(REFX(MM3,4))+ISNULL(REFX(MM3,5))+ISNULL(REFX(MM3,6))+ISNULL(REFX(MM3,7))+ISNULL(REFX(MM3,8))+ISNULL(REFX(MM3,9))+ISNULL(REFX(MM3,10))+ISNULL(REFX(MM3,11))+ISNULL(REFX(MM3,12));
XXMA25L:=(SUM(MM3,13)+EE4)/(25-EE5)*SSS;
G0:=2*XXMA25H-XXMA25L,LINETHICK1,COLORWHITE;
D0:=2*XXMA25L-XXMA25H,LINETHICK1,COLORWHITE;
DTD:=D0>=D90T && G0>=D90D;
KTD:=G0<=D90D && D0<=D90T;
ZDD:=D0>=D90T && G0<=D90D;
BDD0:=4*XXMA60H-3*XXMA60L,LINETHICK2,COLORGREEN;
BDT0:=4*XXMA60L-3*XXMA60H,LINETHICK2,COLORGREEN;
STICKLINE1(DTD=1,G0,D0,5,0),COLOR660000;
STICKLINE1(KTD=1,G0,D0,5,0),COLOR003300;
STICKLINE1(ZDD=1,G0,D0,5,0),COLOR555555;
ZK1:2*XXMA25H-XXMA25L,DOT,COLORWHITE;
ZD1:2*XXMA25L-XXMA25H,DOT,COLORWHITE;
BS:3.2*XXMA60H-2.2*XXMA60L,DOT,COLORRED;
BD:3.8*XXMA60L-2.8*XXMA60H,DOT,COLORGREEN;
SS:=2.5*XXMA25L-1.5*XXMA25H,DOT,COLORGREEN;
ZZ:=(ZK1+ZD1)/2,DOT,COLORYELLOW;
STICKLINE1(1=1,D90H,D90L,5,0),COLORGRAY;
DEA3:=EMA((EMA(CLOSE,3)-EMA(CLOSE,6)),9),COLORGREEN,LINETHICK2;
DEA3B:=REF(DEA3,1),COLORWHITE;
DEA33B:=EMA((EMA(EMA(CLOSE,3)-EMA(CLOSE,9),3)-EMA(EMA(CLOSE,3)-EMA(CLOSE,9),9)),9),COLORWHITE;
DEA333B:=REF(DEA33B,1),COLORWHITE;
DRAWCOLORKLINE(DEA3B<DEA3 || DEA333B<DEA33B,COLORRED,1);
DRAWCOLORKLINE(DEA3<DEA3B,COLORGREEN,1);
白色点多定位1:=L<ZD1 && H>ZD1;
白色点空定位1:=H>ZK1 && L<ZK1;
STICKLINE1(白色点多定位1=1,L,ZD1,3,0),COLORWHITE;
STICKLINE1(白色点空定位1=1,H,ZK1,3,0),COLORWHITE;
白色点多定位2:=H<ZD1;
白色点空定位2:=L>ZK1;
DRAWCOLORKLINE(H<ZD1 || L>ZK1,COLORWHITE,0);
多头红色点:=DEA3B<DEA3 || DEA333B<DEA33B;
空头红色点:=DEA3B>DEA3 || DEA333B>DEA33B;
多头红色点定位1:=白色点多定位1=1 && 多头红色点=1;
空头红色点定位1:=白色点空定位1=1 && 空头红色点=1;
STICKLINE1(多头红色点定位1=1,L,ZD1,3,0),COLORMAGENTA;
STICKLINE1(空头红色点定位1=1,H,ZK1,3,0),COLORMAGENTA;
多头红色点定位2:=白色点多定位2=1 && 多头红色点=1;
空头红色点定位2:=白色点空定位2=1 && 空头红色点=1;
STICKLINE1(多头红色点定位2=1,L,H,0.0,0),COLORMAGENTA;
STICKLINE1(多头红色点定位2=1,C, O ,3,0),COLORMAGENTA;
STICKLINE1(空头红色点定位2=1,L,H,0.0,0),COLORMAGENTA;
STICKLINE1(空头红色点定位2=1,C, O ,3,0),COLORMAGENTA;
多头多定位:=CROSS(ZD1,L) && DTD=1;
多头平定位:=CROSS(H,ZK1) && DTD=1 && ZDD=0;
空头空定位:=CROSS(H,ZK1) && KTD=1;
空头平定位:=CROSS(ZD1,L) && KTD=1 && ZDD=0;
震荡多定位:=CROSS(ZD1,L) && ZDD=1;
震荡空定位:=CROSS(H,ZK1) && ZDD=1;
DRAWTEXT(ISLASTBAR,ZK1,'卖'),COLORWHITE;
DRAWTEXT(ISLASTBAR,ZD1,'买'),COLORWHITE;
DRAWTEXT(ISLASTBAR,BS,'顶'),COLORRED;
DRAWTEXT(ISLASTBAR,BD,'底'),COLORGREEN;

用了简易编辑器不行





您需要登录后才可以回帖 登录 | 注册入住  

本版积分规则

易家网  ©2015-2023  郑州期米信息技术有限公司版权所有  豫公网安备 41010502005136号 豫ICP备16010300号