精准分时辅助看盘指标[五指山多情1版]
{五指山多情1版,本版有ZIG未来函数}
T0:=IF(TIME>093000 AND TIME<094500 ,1,0);
T1:=IF(TIME>093100 AND TIME<145500 ,1,0);
T2:=IF(TIME>100000 AND TIME<145500 ,1,0);
T3:=IF(TIME>140000 AND TIME<145500 ,1,0);
涨幅:=DYNAINFO(14)*100;
CCT:=DYNAINFO(8);
PPP:= FILTER(CCT=0,350) ;
DRAWTEXT(PPP,45,'★今日该股票未开盘,不能分析★'),COLORFF00FF;
VAR80:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,3,0);
VAR81:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR83:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR85:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR87:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
NN1:=VAR80;
NN2:=(VAR81+VAR83+VAR85+VAR87);
VAR82:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR84:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR86:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR88:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
MM1:=(VAR82+VAR84+VAR86+VAR88);
MM2:= IF(MM1>0,-500,0);
MM:= IF(C>1000,MM2*100,MM2),COLORRED,LINETHICK3;
CT:SUM(MM,0) AND T1=1;{统计}
紫观顶:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),LINETHICK1,COLORFF00FF;
M1:= (7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1)),COLORWHITE;
蓝看底: EMA(MA(M1,5),3),LINETHICK1,COLORFFFF00;
WH:=紫观顶;
WL:=蓝看底;
CA:=IF(T1=1 AND WH>80 AND CT=1,1,0);
P4:= FILTER(CA=1,350);
DDC:='★短线看跌,紫线高点出局';
DRAWTEXT(P4,45,DDC),COLORGREEN;
A:=EMA(WINNER(CLOSE),10);
B:=EMA(WINNER(CLOSE),34);
AAD:=MA(CLOSE,32);
BAD:=MA(CLOSE,12);
DDD:=CROSS(B,A);
AAC:=MA(C,1);
BBB:=MA(AAD,2);
VAR51:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
BB:=SMA(VAR51,7,1);
VAR67:=(LOW+HIGH+CLOSE)/3;
VAR68:=(VAR67-MA(VAR67,14))/(0.015*AVEDEV(VAR67,14));
WR30:=100*(HHV(HIGH,79)-CLOSE)/(HHV(HIGH,79)-LLV(LOW,79));
VAR21:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR22:=LLV(LOW,34);
VAR23:=HHV(HIGH,34);
SK1:=EMA((VAR21-VAR22)/(VAR23-VAR22)*100,13);
WR31:=IF(WR30=0 OR SK1>=90 OR VAR68>-250,100,WR30);
舟:IF(NN1>0 OR NN2>0,35,DRAWNULL)*2,STICK,COLORMAGENTA,LINETHICK3;
岸:(T1=1 AND CT=0 AND SK1=100 OR T1=1 AND CT=0 AND SK1>0 AND WR30>98 AND SK1<=13)*60,STICK,COLORMAGENTA,LINETHICK1;
花:EMA(IF(WL<15 AND T3=1 AND L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*25,STICK,COLORYELLOW,LINETHICK3;
W1:=CROSS(M1,WL);
N1:=WH<35 AND WH > MA(REF(WH,3),3) AND CT=0 AND T2=1 AND 涨幅<8;
技:IF(W1=1 AND N1=1,75,0),STICK,COLORRED,LINETHICK3;
P2:= FILTER(技,16) ;
DRAWTEXT(P2,25,'←短底'),COLORYELLOW,LINETHICK1;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
看涨:VARC=1;
CH:SUM(看涨,0) AND T1=1;{统计}
P1:= FILTER(看涨,16) ;
DRAWTEXT(P1,30,'←短线看涨'),COLORYELLOW,LINETHICK2;
VAR1Z:=REF(CLOSE,1);
VAR2Z:=SMA(MAX(CLOSE-VAR1Z,0),7,1)/SMA(ABS(CLOSE-VAR1Z),7,1)*100;
VAR3Z:=SMA(MAX(CLOSE-VAR1Z,0),13,1)/SMA(ABS(CLOSE-VAR1Z),13,1)*100;
VAR4Z:=SMA(MAX(VAR1Z-CLOSE,0),7,1)/SMA(ABS(CLOSE-VAR1Z),7,1)*100;
VAR5Z:=SMA(MAX(VAR1Z-CLOSE,0),13,1)/SMA(ABS(CLOSE-VAR1Z),13,1)*100;
VAR6Z:=BARSCOUNT(CLOSE);
波:(T3=1 AND VAR2Z<25 AND VAR3Z<30 AND VAR6Z>35)*3,STICK, COLORSTICK,LINETHICK2;
VARF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VAR9A:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VAR2A:=VARF<REF(VAR9A,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(CT=0 AND VAR2A AND COUNT(VAR2A,50)=1,75,'←大资金'),LINETHICK1,COLORYELLOW;
大资金:(CT=0 AND VAR2A AND COUNT(VAR2A,50)=1)*85,STICK,COLORYELLOW,LINETHICK1;
VAR31:=MA(VOL,5)>MA(VOL,60);
介入: IF(A<0.15 AND ABS(A-B)<0.05 AND CROSS(A,B) AND VAR31,1,0)*80,STICK,COLORRED,,LINETHICK2;
P3:= FILTER(介入,16) ;
DDB:='←进场注意';
DRAWTEXT(P3,IF(介入>0 AND 涨幅<8,60,70),DDB),COLORYELLOW;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
SD:=(C>60 AND C<100,500,300);
SF:=IF(C<40 AND C<=60,800,SD);
SG:=IF(C>10 AND C<=25,1000,IF(C>25 AND C<40,1000,SF));
SH:=IF(C<5,5000,IF(C>=5 AND C<=10,3000,SG));
SJ:=IF(C>=6000,5,SH);
SK:=IF(C>1000 AND C<6000,25,SJ);
MACD:(DIF-DEA)*SK,COLORSTICK;
NC2:=WL>35 AND WL<65 AND WL > MA(REF(WL,5),5) AND CT=0 AND T2=1 AND 涨幅<8;
P5:=FILTER(NC2,32) ;
DRAWTEXT(P5 ,WL*1.01,'←加仓'),COLOR00FFFF,LINETHICK2;
MA5:=EMA(CLOSE,5);
MA65:=EMA(CLOSE,65);
MA21:=EMA(CLOSE,21);
DD1:=COUNT(MA21>MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
DD2:=ABS(GX/DX-1)*100<=15;
DD3:=COUNT(MACD<0,10)=10;
DD4:=IF(DD1 AND DD2 AND DD3,5,0);
DD5:=CCT>0 AND 0+IF(CROSS(0.1,DD4) AND CROSS(MACD,0),8,0) ;
DDE:='←买不亏';
STICKLINE(FILTER(DD5=1,50)=1,0,30,3,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(FILTER(DD5=1,50)=1,5,DDE),LINETHICK1,COLORYELLOW;
警戒:90,COLOR5AFF9E;
轴:0;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,21);
VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;
VAR4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
VAR5:=CROSS(VAR1,VAR2) AND VAR4 AND VAR3;
个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
大盘:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;
STICKLINE(个股>=大盘,个股,大盘,0,0),COLORRED;
STICKLINE(个股<大盘,个股,大盘,0,0),COLORBLUE;
STICKLINE(个股>=大盘,0,大盘,0,-1),COLORYELLOW;
STICKLINE(个股<大盘,0,个股,0,-1),COLORYELLOW;
黑马:IF(VAR5,80,0),STICK,LINETHICK4,COLORF00FF0;
DRAWTEXT(VAR5,70,'黑马'),COLORF00FF0;
短线反弹:IF(CROSS(个股,9),25,0),STICK,LINETHICK3,COLORRED;
DRAWTEXT(CROSS(个股,9),15,'弹'),COLOR00FF00;
DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),95,15);
VAR41:=SMA(MAX(C-REF(C,1),0),9,1)/SMA(ABS(C-REF(C,1)),9,1)*100;
DRAWICON(CROSS(82,VAR41),86,2);
VAR42:=REF(C,1);
VAR43:=SMA(MAX(C-VAR42,0),34,1)/SMA(ABS(C-VAR42),34,1)*100;
DRAWTEXT(CROSS(84,VAR43),93,'S'),COLORGREEN ;
AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
BB1:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
CC:=EMA(AA,2);
DD:=EMA(BB1,5);
TJ0:=CROSS(CC,DD);
上:=EMA(C,3);
中:=EMA(C,5);
下:=EMA(中,5);
TJ1:=CROSS(上,中);
TJ2:=上>REF(上,1);
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),-8,1) ;
EMA3:=EMA(C,3);
TJ3:=BB5>1 AND EMA(X1,5)>REF(EMA(X1,3),1);
STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,70,4,0),COLORF00FF0;
DRAWTEXT((TJ1 AND TJ2 AND TJ0 AND TJ3),60,'小黑马'),COLORF00FF0;
未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
如果TIME>093000 AND TIME<094500 返回1否则返回0
如果TIME>093100 AND TIME<145500 返回1否则返回0
如果TIME>100000 AND TIME<145500 返回1否则返回0
如果TIME>140000 AND TIME<145500 返回1否则返回0
涨幅赋值:DYNAINFO(14)*100
CCT赋值:DYNAINFO(8)
PPP赋值: CCT=0的350过滤
当满足条件PPP时,在45和'★今日该股票未开盘位置书写文字
VAR80赋值:IF(TROUGHBARS(3,16,1)=0 AND 最高价>最低价+0.04,3,0)
VAR81赋值:ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3)
VAR83赋值:ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3)
VAR85赋值:ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3)
VAR87赋值:ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3)
NN1赋值:VAR80
NN2赋值:(VAR81+VAR83+VAR85+VAR87)
VAR82赋值:ZIG(3,6)[=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3)]
VAR84赋值:ZIG(3,22)[=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3)]
VAR86赋值:ZIG(3,51)[=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3)]
VAR88赋值:ZIG(3,72)[=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3)]
MM1赋值:(VAR82+VAR84+VAR86+VAR88)
如果MM1>0返回-500否则返回0
如果C>1000返回MM2*100否则返回MM2
输出
CT:0的MM日累和 AND T1=1
输出{统计}
紫观顶:EMA((收盘价-55日内收盘价最低值)/(55日内收盘价最高值-55日内最低价最低值)*100,5),LINETHICK1,COLORFF00FF
M1赋值: (7*SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*30,4,1)-3*SMA(SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*30,4,1),3,1)-SMA(SMA(SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*30,4,1),3,1),2,1)),画白色
输出
蓝看底: EM1的5日简单移动平均,3),LINETHICK1,COLORFFFF00
WH赋值:紫观顶
WL赋值:蓝看底
如果T1=1 AND WH>80 AND CT=1返回1否则返回0
P4赋值: CA=1的350过滤
DDC赋值:'★短线看跌,紫线高点出局'
当满足条件P4时,在45和DDC位置书写文字
A赋值:EMA(收盘价计算的获利盘比例,10)
B赋值:EMA(收盘价计算的获利盘比例,34)
AAD:=收盘价的32日简单移动平均
BAD:=收盘价的12日简单移动平均
DDD赋值:B上穿A
AAC赋值:C的1日简单移动平均
BBB赋值:AAD的2日简单移动平均
VAR51赋值:(收盘价-60日内最低价最低值)/(60日内最高价最高值-60日内最低价最低值)*80
VAR51的7日[1日权重]移动平均
VAR67赋值:(最低价+最高价+收盘价)/3
VAR68赋值:(VAR67-VAR67的14日简单移动平均)/(0.015*AVEDEV(VAR67,14))
WR30赋值:100*(79日内最高价最高值-收盘价)/(79日内最高价最高值-79日内最低价最低值)
VAR21赋值:(2*收盘价+最高价+最低价+开盘价)/5
VAR22赋值:34日内最低价最低值
VAR23赋值:34日内最高价最高值
SK1赋值:EMA((VAR21-VAR22)/(VAR23-VAR22)*100,13)
如果WR30=0 OR SK1>=90 OR VAR68>-250返回100否则返回WR30
如果NN1>0 OR NN2>0返回35否则返回DRAWNULL
输出
岸:(T1=1 AND CT=0 AND SK1=100 OR T1=1 AND CT=0 AND SK1>0 AND WR30>98 AND SK1<=13)*60,STICK,画洋红色,LINETHICK1
输出
花:EMA(IF(WL<15 AND T3=1 AND L<= 30日内L最低值,SMA(L-1日前的L的绝对值,30,1)/SMA(L-1日前的L和0较大值,30,1),0),3)*25,STICK,画黄色, 线宽为3
W1赋值:M1上穿WL
N1赋值:WH<35 AND WH > 3日前的WH的3日简单移动平均 AND CT=0 AND T2=1 AND 涨幅<8
如果W1=1 AND N1=1返回75否则返回0
P2赋值: 技的16过滤
当满足条件P2时,在25和'←短底'位置书写文字
VARC赋值:(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))
输出
看涨:VARC=1
输出
CH:0的看涨日累和 AND T1=1
{统计}
P1赋值: 看涨的16过滤
当满足条件P1时,在30和'←短线看涨'位置书写文字
VAR1Z赋值:1日前的收盘价
VAR2Z赋值:SMA(收盘价-VAR1Z和0较大值,7,1)/SMA(收盘价-VAR1Z的绝对值,7,1)*100
VAR3Z赋值:SMA(收盘价-VAR1Z和0较大值,13,1)/SMA(收盘价-VAR1Z的绝对值,13,1)*100
VAR4Z赋值:SMA(VAR1Z-收盘价和0较大值,7,1)/SMA(收盘价-VAR1Z的绝对值,7,1)*100
VAR5Z赋值:SMA(VAR1Z-收盘价和0较大值,13,1)/SMA(收盘价-VAR1Z的绝对值,13,1)*100
VAR6Z赋值:收盘价的有效数据周期数
输出
波:(T3=1 AND VAR2Z<25 AND VAR3Z<30 AND VAR6Z>35)*3,STICK, COLORSTICK, 线宽为2
VARF赋值:100-3*SMA((收盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1)+2*SMA(SMA((收盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1),15,1)
VAR9A赋值:100-3*SMA((开盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1)+2*SMA(SMA((开盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1),15,1)
VAR2A赋值:VARF<1日前的VAR9A AND 成交量>1日前的成交量 AND 收盘价>1日前的收盘价
DRAWTEXT(CT=0 AND VAR2A AND 统计50日满足VAR2A的天数=1,75,'←大资金'),LINETHICK1,画黄色
输出
大资金:(CT=0 AND VAR2A AND 统计50日满足VAR2A的天数=1)*85,STICK,画黄色,LINETHICK1
VAR31赋值:成交量的5日简单移动平均>成交量的60日简单移动平均
输出
介入: IF(A<0.15 AND A-B的绝对值<0.05 AND A上穿B AND VAR31,1,0)*80,STICK,画红色,, 线宽为2
P3赋值: 介入的16过滤
DDB赋值:'←进场注意'
如果介入>0 AND 涨幅<8返回60否则返回70
DIF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均
DEA赋值:DIF的9日指数移动平均
SD赋值:(C>60 AND C<100,500,300)
如果C<40 AND C<=60返回800否则返回SD
SG赋值:IF(C>10 AND C<=25,1000,IF(C>25 AND C<40,1000,SF))
SH赋值:IF(C<5,5000,IF(C>=5 AND C<=10,3000,SG))
如果C>=6000返回5否则返回SH
如果C>1000 AND C<6000返回25否则返回SJ
输出
MACD:(DIF-DEA)*SK,COLORSTICK
NC2赋值:WL>35 AND WL<65 AND WL > 5日前的WL的5日简单移动平均 AND CT=0 AND T2=1 AND 涨幅<8
P5赋值:NC2的32过滤
当满足条件P5 时,在WL*1.01和'←加仓'位置书写文字
MA5赋值:收盘价的5日指数移动平均
MA65赋值:收盘价的65日指数移动平均
MA21赋值:收盘价的21日指数移动平均
DD1赋值:统计10日满足MA21>MA65的天数=10
GX赋值:MAX(MA5,MAX(MA21,MA65))
DX赋值:MIN(MA5,MIN(MA21,MA65))
DD2赋值:GX/DX-1的绝对值*100<=15
DD3赋值:统计10日满足MACD<0的天数=10
如果DD1 AND DD2 AND DD3返回5否则返回0
DD5赋值:CCT>0 AND 0+IF(0.1上穿DD4 AND MACD上穿0,8,0)
DDE赋值:'←买不亏'
STICKLINE(DD5=1的50过滤=1,0,30,3,0),LINETHICK1,画黄色
DRAWTEXT(DD5=1的50过滤=1,5,DDE),LINETHICK1,画黄色
输出
警戒:90,COLOR5AFF9E
输出
轴:0
VAR1赋值:收盘价的3日指数移动平均
VAR2赋值:收盘价的21日指数移动平均
VAR3赋值:上次VAR2上穿VAR1距今天数>15
VAR4赋值:成交量>成交量的5日简单移动平均*2 AND 成交量<成交量的5日简单移动平均*5
VAR5赋值:VAR1上穿VAR2 AND VAR4 AND VAR3
个股赋值:EMA(100*(C-34日内最低价最低值)/(34日内H最高值-34日内最低价最低值),3),COLOR1010FF
大盘赋值:EMA(100*(INDEXC-34日内INDEXL最低值)/(34日内INDEXH最高值-34日内INDEXL最低值),3),COLORE67010, 线宽为2
当满足条件个股>=大盘时,在个股和大盘之间画柱状线
当满足条件个股<大盘时,在个股和大盘之间画柱状线
当满足条件个股>=大盘时,在0和大盘之间画柱状线
当满足条件个股<大盘时,在0和个股之间画柱状线
如果VAR5返回80否则返回0
当满足条件VAR5时,在70和'黑马'位置书写文字
输出
短线反弹:IF(个股上穿9,25,0),STICK, 线宽为3,画红色
DRAWTEXT(个股上穿9,15,'弹'),COLOR00FF00
DRAWICON((ZIG(3,5)[=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),95,15)]
VAR41赋值:SMA(C-1日前的C和0较大值,9,1)/SMA(C-1日前的C的绝对值,9,1)*100
DRAWICON(82上穿VAR41,86,2)
VAR42赋值:1日前的C
VAR43:=SMA(C-VAR42和0较大值,34,1)/SMA(C-VAR42的绝对值,34,1)*100
DRAWTEXT(84上穿VAR43,93,'S'),画绿色
AA赋值:(C的1日简单移动平均+C的3日简单移动平均+C的5日简单移动平均+C的7日简单移动平均+C的9日简单移动平均)/5
BB1:=(C的2日简单移动平均+C的4日简单移动平均+C的6日简单移动平均+C的8日简单移动平均+C的10日简单移动平均)/5
CC赋值:AA的2日指数移动平均
DD赋值:BB1的5日指数移动平均
TJ0赋值:CC上穿DD
上赋值:C的3日指数移动平均
中赋值:C的5日指数移动平均
下赋值:中的5日指数移动平均
TJ1赋值:上上穿中
TJ2赋值:上>1日前的上
X1赋值:(C+L+H)/3
BB5:=ATAN(X1的5日指数移动平均-1日前的X1的5日指数移动平均)*3.1416*10
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),-8,1)
EMA3赋值:C的3日指数移动平均
TJ3赋值:BB5>1 AND X1的5日指数移动平均>1日前的X1的3日指数移动平均
当满足条件TJ1 AND TJ2 AND TJ0 AND TJ3时,在0和70之间画柱状线
DRAWTEXT((TJ1 AND TJ2 AND TJ0 AND TJ3),60,'小黑马'),COLORF00FF0