【真龙战法】套系指标鏖战股市真轻松用法详解
M8:EMA(CLOSE,8),COLOR008000;
M13:EMA(M8,13),COLOR0000FF;
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10));
VAR4:=(REF(VAR3,1));
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2));
VAR6:=MA(CLOSE,20)+((2)*(STD(CLOSE,20)));
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(C-VAR7,0),7,1))/(SMA(ABS(C-VAR7),7,1)))*(100);
VAR9:=CROSS(69,VAR8);
VAR10:=(FILTER(VAR9,4));
VAR11:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR12:=(EMA(((VAR11-VAR1)/(VAR5-VAR1))*(100),7));
VAR18:=(EMA((0.667)*(REF(VAR12,1))+(0.333)*(VAR12),5));
VAR19:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3));
M62:EMA(M8,55),COLORF0F000;
M81:EMA(M62,81),COLOR00FFFF;
M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;
M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),COLOR00FFFF;
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),COLOR008000;
DRAWTEXT_FIX(C>O,0,0.07,0,'VAR18:VAR19'),COLORMAGENTA;
DRAWTEXT(VAR10,(HIGH)*(1.04),'↓卖'),COLORFFFFFF;
DRAWTEXT(IF(((COUNT((C<REF(C,1)),8))/(8)>0.6) AND (V>=(1.5)*(MA(V,5))) AND COUNT((VAR12>=VAR18),3) AND (REF(L,1)=LLV(L,120)),1,0),L,'●买进'),COLORFF00FF;
DRAWTEXT(IF(((COUNT((C<REF(C,1)),13))/(13)>0.6) AND COUNT((VAR12>VAR18),6) AND (REF(L,5)=LLV(L,120)) AND REF((C>=O),4) AND REF((C>O),3) AND REF((C>O),2) AND REF((O>C),1) AND (O>REF(C,1)),1,0),L,'●买进'),COLOR00FFFF;
DRAWTEXT(IF((C<VAR19) AND (V/240>(MA(V,5))/(240)) AND (C>(REF(C,1))*(1.08)) AND (C<(MA(C,13))*(1.3)),1,0),L,'●抄底'),COLOR0000FF;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出M8:收盘价的8日指数移动平均,COLOR008000
输出M13:M8的13日指数移动平均,COLOR0000FF
VAR1赋值:M13的62日指数移动平均
VAR2赋值:(收盘价+最高价+最低价)/(3)
VAR3赋值:(VAR2的10日指数移动平均)
VAR4赋值:(1日前的VAR3)
VAR5赋值:((1日前的最高价+1日前的最低价)/(2))
VAR6赋值:收盘价的20日简单移动平均+((2)*(收盘价的20估算标准差))
VAR7赋值:1日前的收盘价
VAR8赋值:((SMA(C-VAR7和0较大值,7,1))/(SMA(C-VAR7的绝对值,7,1)))*(100)
VAR9赋值:69上穿VAR8
VAR10:=(VAR9的4过滤)
VAR11:=((2)*(收盘价)+最高价+最低价)/(4)
VAR12:=(EMA(((VAR11-VAR1)/(VAR5-VAR1))*(100),7))
VAR18:=(EMA((0.667)*(1日前的VAR12)+(0.333)*(VAR12),5))
VAR19:=(收盘价的80日简单移动平均-(收盘价的10日简单移动平均)/(3))
输出M62:M8的55日指数移动平均,COLORF0F000
M81:M62的81日指数移动平均,COLOR00FFFF
输出M144:VAR1的144日指数移动平均, 线宽为2,COLOR0000FF
输出M250:VAR1的250日指数移动平均,POINTDOT, 线宽为2,COLORF00FF0
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF
STICKLINE((VAR3DRAWTEXT(VAR3上穿VAR4,(VAR3)*(0.98),'★'),COLOR00FFFF
DRAWTEXT(VAR5上穿VAR6,(最高价)*(1.04),'↓卖'),COLOR008000
当满足条件C>O时,在横轴0纵轴0.07位置书写文字
DRAWTEXT(VAR10,(最高价)*(1.04),'↓卖'),COLORFFFFFF
DRAWTEXT(IF(((COUNT((C<1日前的C),8))/(8)>0.6) AND (V>=(1.5)*(V的5日简单移动平均)) AND COUNT((VAR12>=VAR18),3) AND (1日前的L=120日内L最低值),1,0),L,'●买进'),COLORFF00FF
DRAWTEXT(IF(((COUNT((C<1日前的C),13))/(13)>0.6) AND COUNT((VAR12>VAR18),6) AND (5日前的L=120日内L最低值) AND REF((C>=O),4) AND REF((C>O),3) AND REF((C>O),2) AND REF((O>C),1) AND (O>1日前的C),1,0),L,'●买进'),COLOR00FFFF
DRAWTEXT(IF((C(V的5日简单移动平均)/(240)) AND (C>(1日前的C)*(1.08)) AND (C<(C的13日简单移动平均)*(1.3)),1,0),L,'●抄底'),COLOR0000FF