小妖想成仙主图有趋势评分标注源码


DRAWGBK(C>0,RGB(0,0,110),RGB(0,25,0),0,' ',0);

总涨幅:(H-LLV(L,180))/LLV(L,180)*100,NODRAW,COLORYELLOW;

分析家:=STRCAT(HYBLOCK,' ');

公式:=STRCAT(分析家,DYBLOCK);

网:=STRCAT(公式,' ');

DRAWTEXT_FIX(ISLASTBAR,0.02,0.05,0,STRCAT(网,GNBLOCK)),COLORMAGENTA;




上涨:"999999$ADVANCE"+"399001$ADVANCE",COLORRED,NODRAW;

下跌:"999999$DECLINE"+"399001$DECLINE",COLORLIGREEN,NODRAW;




小妖:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;

成妖趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;

小妖2:EMA(成妖趋势,25)COLORCYAN,LINETHICK2;

DRAWBAND(成妖趋势,RGB(55,0,0),小妖2,RGB(0,91,0));




DRAWKLINE(H,O,L,C);

STICKLINE(成妖趋势>LOW AND 成妖趋势<HIGH,成妖趋势,MIN(MIN(OPEN,CLOSE),成妖趋势),2,0),COLORYELLOW;

STICKLINE(成妖趋势>MIN(C,O) AND 成妖趋势<MAX(C,O),成妖趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;

STICKLINE(成妖趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE(成妖趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;

UVAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

回调买:=LLV(UVAR23,2)=LLV(UVAR23,7) AND COUNT(UVAR23<0,2) AND CROSS(UVAR23,MA(UVAR23,2));

XG:= 成妖趋势>HIGH AND 回调买 AND L<=成妖趋势;

DRAWTEXT(XG,L,'▲买'),COLORRED;

{DRAWICON(CROSS( 成妖趋势,小妖2),小妖2*1.002,26);}




JJ:=(HIGH+LOW+CLOSE)/3;

QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;

V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);

V5:=SMA(V2*120/FROMOPEN*5,2,1);

V10:=SMA(V5,5,1);

V20:=SMA(V10,5,1);

DY:=CURRBARSCOUNT=1 AND C<REF(C,1);

DY2:=REF(V2,1)-DY;

XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<小妖;

DRAWTEXT(XG2 AND L<成妖趋势,L,'妖'),COLORWHITE;




高60:REFDATE(HHV(H,60),DATE),DOTLINE,COLOR00FF00;

底60:REFDATE(LLV(L,60),DATE),DOTLINE,COLORFF00FF;

高30:REFDATE(HHV(H,30),DATE),DOTLINE,COLORLIBLUE;

底30:REFDATE(LLV(L,30),DATE),DOTLINE,COLORLIRED;

获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;




MA5:MA(CLOSE,5),COLORWHITE,DOTLINE,LINETHICK1;




分析家1:=EMA(C,3),COLORWHITE;

跟随主力线:=EMA(C,5),COLORYELLOW;

指标营地:=EMA(C,7),COLORBROWN;

短线回踩支撑:=EMA(C,10),COLORLIGREEN;

启动线:=EMA(C,20),COLORRED,LINETHICK2;

SS:=CROSS(分析家1,跟随主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(跟随主力线,指标营地) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(跟随主力线,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(分析家1,指标营地) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(分析家1,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(跟随主力线,指标营地) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(跟随主力线,启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(指标营地,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018

OR CROSS(跟随主力线,启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(分析家1,启动线);

DRAWTEXT(SS,L-0.04,''),COLORMAGENTA;

DRAWICON(SS,L-0.04,9);




N:=3;

A线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK1,COLOR0000FF;

B线:=EMA(REF(A线,1),2),LINETHICK1,COLOR00FFFF;

趋势:=EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK1,COLORFF00FF;

C2:=REF(C,1);

UVAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);

UVAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);

STICKLINE(UVAR1,C,O,2,0),COLORYELLOW,LINETHICK1;{高位黄S色}

STICKLINE(UVAR1,C,O,2,0),COLORYELLOW,LINETHICK1;{高位黄S色}

STICKLINE(UVAR1,H,L,1,0),COLORYELLOW,LINETHICK1;{高位黄S色}

STICKLINE(UVAR2,C,O,2,0),COLORFF00FF,LINETHICK1;{底位红色}

STICKLINE(UVAR2,C,O,2,0),COLORFF00FF,LINETHICK1;{底位红色}

STICKLINE(UVAR2,H,L,1,0),COLORFF00FF,LINETHICK1;{底位红色};        




AA:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'买') ,LINETHICK2,COLORYELLOW;

DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'卖'),LINETHICK2,COLOR00FF00;

MA1:=MA(UVAR1,3);

UVAR3:=LLV(HIGH,240);

UVAR4:=100*(CLOSE-UVAR3)/UVAR3;

UVAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

UVAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

UVAR7:=0;UVAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

UVAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

UVAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

UVAR11:=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);

UVAR12:=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);

UVAR13:=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);

UVAR14:=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);

UVAR15:=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);

UVAR16:=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);

UVAR17:=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);

UVAR18:=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);

UVAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

买1:=UVAR10;

买2:=(UVAR11+UVAR13+UVAR15+UVAR17);

卖1:=(UVAR12+UVAR14+UVAR16+UVAR18);




DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;

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)),HIGH*1.01,2);




ZB:=EMA(EMA(UVAR3,5),5)*3, ;

UVARA:=IF(UVAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

K:=5*2,, COLORFF00FF;

D:=5,, COLORWHITE;

J:=K*3-D*2, ,COLORYELLOW;

UVARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;

HS:=VOL/CAPITAL*100, , COLORGREEN;

UVARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

UVARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

UVAR1A:=IF(UVARE>0,UVARE,0);

UVAR1B:=IF(UVAR14>=200 AND UVAR13>=150,15,IF(UVAR14<=-200 AND UVAR13<=-150,-15,UVAR16))+60;

UVAR1C:=UVAR1A>48 AND UVAR1B>60 AND UVAR19<100;

STICKLINE((C-REF(C,1))/REF(C,1)>=0.0985,O,C,2,0),COLORYELLOW;

STICKLINE((C-REF(C,1))/REF(C,1)>=-0.0985 AND (C-REF(C,1))/REF(C,1)<0,O,C,2,0),COLORCYAN;

STICKLINE(C>REF(C,1) AND C<O ,O,C,2,0),COLORCYAN;

STICKLINE((C-REF(C,1))/REF(C,1)<=-0.0985,O,C,2,0),COLORBLUE;




DRAWICON(CROSS( A线, B线),L*0.99,23);

{DRAWICON(CROSS( A线,趋势),趋势*1.002,27);}

DRAWICON(CROSS( B线, A线),H*1.02,15);




总额:=AMOUNT;

买0:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));

买%:=买0/AMOUNT*100;

流入:=AMOUNT*买%/10000000000;

流出:=AMOUNT/100000000-流入;

净流:=(流入-流出);

总额3:=SUM(AMOUNT,3);

流入3:=SUM(流入,3);

流出3:=SUM(流出,3);

净流3:=SUM(流入-流出,3);

总额5:=SUM(AMOUNT,5);

流入5:=SUM(流入,5);

流出5:=SUM(流出,5);

净流5:=SUM(流入-流出,5);

DRAWTEXT_FIX(1,0.35,0.05,0,'净流入(亿):'),COLOR8080FF,COLORYELLOW;

DRAWTEXT_FIX(1,0.45,0.05,0,'1日'),COLOR8080FF,COLORWHITE;

DRAWNUMBER_FIX(1,0.55,0.05,0,CONST((净流))),COLORYELLOW;

DRAWTEXT_FIX(1,0.65,0.05,0,'3日'),COLOR8080FF,COLORWHITE;

DRAWNUMBER_FIX(1,0.75,0.05,0,CONST((净流3))),COLORYELLOW;




{趋势评分}

X01:=IF(MA(C,5)>MA(C,10),20,0);

X02:=IF(MA(C,20)>MA(C,60),10,0);

X3:=IF(KDJ.J>KDJ.K,10,0);

X4:=IF(MACD.DIF>MACD.DEA,10,0);

X5:=IF(MACD.MACD>0,10,0);

X6:=IF(V>MA(V,60),10,0);

X7:=IF(WINNER(C)>0.5,10,0);

X8:=IF(C/REF(C,1)>1.03,10,0);

XX:=X01+X02+X3+X4+X5+X6+X7+X8;

DRAWTEXT_FIX(V>O,0.99,0.99,0,STRCAT('趋势评分:',STRCAT(CON2STR(XX,0),' '))),COLORYELLOW;




未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
该公式包含未来函数:XMA

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

DRAWGBK(C>0,RGB(0,0,110),RGB(0,25,0),0,' ',0)
输出总涨幅:(H-180日内L最低值)/180日内L最低值*100,NODRAW,画黄色
分析家赋值:STRCAT(HYBLOCK,' ')
公式赋值:STRCAT(分析家,DYBLOCK)
网赋值:STRCAT(公式,' ')
DRAWTEXT_FIX(ISLASTBAR,0.02,0.05,0,STRCAT(网,GNBLOCK)),COLORMAGENTA
输出上涨:"999999$ADVANCE"+"399001$ADVANCE",COLORRED,NODRAW
输出下跌:"999999$DECLINE"+"399001$DECLINE",COLORLIGREEN,NODRAW
输出小妖:(XXH的25日简单移动平均,25)-XXL的25日简单移动平均,25))*1+XXH的25日简单移动平均,25),DOTLINE,画黄色
输出成妖趋势:XXL的25日简单移动平均,25)-(XXH的25日简单移动平均,25)-XXL的25日简单移动平均,25))*1,LINETHICK2,COLORRED
小妖2:成妖趋势的25日指数移动平均COLORCYAN,LINETHICK2
DRAWBAND(成妖趋势,RGB(55,0,0),小妖2,RGB(0,91,0))
DRAWKLINE(H,O,L,C)
STICKLINE(成妖趋势>最低价 AND 成妖趋势<最高价,成妖趋势,OPEN和收盘价的较小值,成妖趋势),2,0),画黄色
STICKLINE(成妖趋势>C和O的较小值 AND 成妖趋势当满足条件成妖趋势>最高价时,在OPEN和收盘价之间画柱状线
当满足条件成妖趋势>最高价时,在最高价和最低价之间画柱状线
UVAR23赋值:100*XMA(XMA((C-1日前的C),6),6)/XMA(XMA((C-1日前的C的绝对值),6),6)
回调买赋值:2日内UVAR23最低值=7日内UVAR23最低值 AND 统计2日满足UVAR23<0的天数 AND CROSS(UVAR23,UVAR23的2日简单移动平均)
XG赋值: 成妖趋势>最高价 AND 回调买 AND L<=成妖趋势
当满足条件XG时,在L和'▲买'位置书写文字
{DRAWICON( 成妖趋势上穿小妖2,小妖2*1.002,26)
}JJ赋值:(最高价+最低价+收盘价)/3
如果最高价=最低价返回4否则返回最高价-最低价
QJ1赋值:IF(当前流通股本=0,QJ0*(JJ-收盘价和OPEN的较小值),QJ0*IF(最高价=最低价,1,(OPEN和收盘价的较小值-最低价)))
QJ2赋值:IF(当前流通股本=0,QJ0*(OPEN和收盘价的较小值-最低价),QJ0*IF(最高价=最低价,1,(JJ-收盘价和OPEN的较小值)))
QJ3赋值:IF(当前流通股本=0,QJ0*(最高价-OPEN和收盘价较大值),QJ0*IF(最高价=最低价,1,(最高价-OPEN和收盘价较大值)))
QJ4赋值:IF(当前流通股本=0,QJ0*(收盘价和OPEN较大值-JJ),QJ0*IF(最高价=最低价,1,(收盘价和OPEN较大值-JJ)))
如果当前流通股本=0返回10000否则返回10000
V2赋值:SMA(IF(C>=1日前的C,DDX,-DDX/100),2,1)
V2*120/FROMOPEN*5的2日[1日权重]移动平均
V5的5日[1日权重]移动平均
V10的5日[1日权重]移动平均
DY赋值:CURRBARSCOUNT=1 AND C<1日前的C
DY2:=1日前的V2-DY
XG2:=C>O AND DY2<0.02 AND C的5日简单移动平均>C的60日简单移动平均 AND C/1日前的C>=1.02 AND H<小妖
当满足条件XG2 AND L<成妖趋势时,在L和'妖'位置书写文字
输出高60:DATE60日内H最高值日,DOTLINE,COLOR00FF00
输出底60:DATE60日内L最低值日,DOTLINE,COLORFF00FF
输出高30:DATE30日内H最高值日,DOTLINE, 画淡蓝色
输出底30:DATE30日内L最低值日,DOTLINE,COLORLIRED
输出获利筹码:IF(收盘价计算的获利盘比例,收盘价计算的获利盘比例*100,0),NODRAW
输出MA5:收盘价的5日简单移动平均,画白色,DOTLINE,LINETHICK1
分析家1:=C的3日指数移动平均,画白色
跟随主力线赋值:C的5日指数移动平均,画黄色
指标营地赋值:C的7日指数移动平均,COLORBROWN
短线回踩支撑赋值:C的10日指数移动平均,COLORLIGREEN
启动线赋值:C的20日指数移动平均,COLORRED,LINETHICK2
SS赋值:分析家1上穿跟随主力线 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 跟随主力线上穿指标营地 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 跟随主力线上穿短线回踩支撑 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 分析家1上穿指标营地 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 分析家1上穿短线回踩支撑 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 跟随主力线上穿指标营地 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 跟随主力线上穿启动线 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 指标营地上穿短线回踩支撑 AND C>O AND C>1日前的C AND C/1日前的C>=1.018OR 跟随主力线上穿启动线 AND C>O AND C>1日前的C AND C/1日前的C>=1.018 AND 分析家1上穿启动线
当满足条件SS时,在L-0.04和''位置书写文字
当满足条件SS时,在L-0.04和9之间画图标
N赋值:3
A线赋值:收盘价的2日指数移动平均,2),2),2),LINETHICK1,COLOR0000FF
B线赋值:E1日前的A线的2日简单移动平均,LINETHICK1,COLOR00FFFF
趋势赋值:收盘价的55日指数移动平均,2),2),2),2),LINETHICK1,COLORFF00FF
C2赋值:1日前的C
UVAR1赋值:ZIG(3,10)REF(ZIG(3,10),2)
UVAR2赋值:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)当满足条件UVAR1时,在C和O之间画柱状线
当满足条件UVAR1时,在C和O之间画柱状线
当满足条件UVAR1时,在H和L之间画柱状线
当满足条件UVAR2时,在C和O之间画柱状线
当满足条件UVAR2时,在C和O之间画柱状线
当满足条件UVAR2时,在H和L之间画柱状线
{底位红色}
        输出AA:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),最低价*0.978,'买') ,LINETHICK2,画黄色
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),最高价*1.02,'卖'),LINETHICK2,COLOR00FF00
MA1赋值:UVAR1的3日简单移动平均
UVAR3赋值:240日内最高价最低值
UVAR4赋值:100*(收盘价-UVAR3)/UVAR3
UVAR5赋值:(收盘价-528日内最低价最低值)/(528日内最高价最高值-528日内最低价最低值)*100
UVAR6赋值:(收盘价-530日内收盘价最低值)/(530日内收盘价最高值-530日内收盘价最低值)*100
UVAR7赋值:0
UVAR8赋值:SMA(收盘价-1日前的收盘价和0较大值,34,1)/SMA(收盘价-1日前的收盘价的绝对值,7,1)*100
UVAR9赋值:SMA(收盘价-1日前的收盘价和0较大值,13,1)/SMA(收盘价-1日前的收盘价的绝对值,13,1)*100
UVAR10:=IF(TROUGHBARS(3,16,1)=0 AND 最高价>最低价+0.04,4,0)
UVAR11:=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)
UVAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3)
UVAR13:=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)
UVAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3)
UVAR15:=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)
UVAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3)
UVAR17:=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)
UVAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3)
UVAR19:=收盘价的2日指数移动平均-收盘价的150日指数移动平均
买1赋值:UVAR10
买2赋值:(UVAR11+UVAR13+UVAR15+UVAR17)
卖1赋值:(UVAR12+UVAR14+UVAR16+UVAR18)
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),3)),最低价*0.98,1)
DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),最高价*1.01,2)
ZB赋值:UVAR3的5日指数移动平均,5)*3,
UVARA赋值:IF(UVAR9 AND CROSS(收盘价的3日简单移动平均,收盘价的5日简单移动平均),20,0)
K赋值:5*2,, COLORFF00FF
D赋值:5,, 画白色
J赋值:K*3-D*2, ,画黄色
UVARB赋值:BETWEEN(收盘价,收盘价的3日简单移动平均,收盘价的5日简单移动平均) AND J>10
HS赋值:成交量/当前流通股本*100, , COLORGREEN
UVARE赋值:MA(100*(收盘价-34日内收盘价最低值)/(34日内最高价最高值-34日内最低价最低值),5)-20
UVARF赋值:100-3*SMA((收盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1)+2*SMA(SMA((收盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1),15,1)
如果UVARE>0返回UVARE否则返回0
UVAR1B:=IF(UVAR14>=200 AND UVAR13>=150,15,IF(UVAR14<=-200 AND UVAR13<=-150,-15,UVAR16))+60
UVAR1C:=UVAR1A>48 AND UVAR1B>60 AND UVAR19<100
STICKLINE((C-1日前的C)/1日前的C>=0.0985,O,C,2,0),画黄色
STICKLINE((C-1日前的C)/1日前的C>=-0.0985 AND (C-1日前的C)/1日前的C<0,O,C,2,0),COLORCYAN
STICKLINE(C>1日前的C AND CSTICKLINE((C-1日前的C)/1日前的C<=-0.0985,O,C,2,0), 画蓝色
DRAWICON( A线上穿 B线,L*0.99,23)
{DRAWICON( A线上穿趋势,趋势*1.002,27)
}DRAWICON( B线上穿 A线,H*1.02,15)
总额赋值:AMOUNT
买0赋值:IF(O=C AND (C-1日前的C)/1日前的C*100>9.8,AMOUNT,AMOUNT/((H-L)*2-O-C的绝对值)*(C-L))
买%赋值:买0/AMOUNT*100
流入赋值:AMOUNT*买%/10000000000
流出赋值:AMOUNT/100000000-流入
净流赋值:(流入-流出)
总额3:=3的AMOUNT日累和
流入3:=3的流入日累和
流出3:=3的流出日累和
净流3:=3的流入-流出日累和
总额5:=5的AMOUNT日累和
流入5:=5的流入日累和
流出5:=5的流出日累和
净流5:=5的流入-流出日累和
DRAWTEXT_FIX(1,0.35,0.05,0,'净流入(亿):'),COLOR8080FF,画黄色
当满足条件1时,在横轴0.45纵轴0.05位置书写文字
DRAWNUMBER_FIX(1,0.55,0.05,0,CONST((净流))),画黄色
当满足条件1时,在横轴0.65纵轴0.05位置书写文字
DRAWNUMBER_FIX(1,0.75,0.05,0,CONST((净流3))),画黄色
{趋势评分}X01:=IF(C的5日简单移动平均>C的10日简单移动平均,20,0)
X02赋值:IF(C的20日简单移动平均>C的60日简单移动平均,10,0)
如果KDJ.J>KDJ.K返回10否则返回0
如果MACD.D>MACD.DEA返回10否则返回0
如果MACD.MACD>0返回10否则返回0
X6赋值:IF(V>V的60日简单移动平均,10,0)
X7赋值:IF(C计算的获利盘比例>0.5,10,0)
X8赋值:IF(C/1日前的C>1.03,10,0)
XX赋值:X01+X02+X3+X4+X5+X6+X7+X8
DRAWTEXT_FIX(V>O,0.99,0.99,0,STRCAT('趋势评分:',STRCAT(CON2STR(XX,0),' '))),画黄色

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图