超级线波段操作公式源码主图指标[同花顺公式]
相关标签:同花顺波段指标主图 、 同花顺主图波段公式 、 同花顺主图源码公式 、 同花顺指标公式源码 、 同花顺主图指标公式 、 波段指标公式源码 、 波段淘金主图指标源码 、 同花顺指标源码 、 同花顺公式源码 、 同花顺波主图指标公式 、 同花顺指标公式大全 、 缠论中枢公式同花顺 、 同花顺官网 、 同花顺下载 、 同花顺圈子 、
原理解析:
源码:
a:="LTFunc4@FORLT2";
s1:="LTFunc4@LT_S1";
hs:="LTFunc4@LT_HS";
ls:="LTFunc4@LT_LS";
p1:="LTFunc4@LT_P1";
upp:="LTFunc4@LT_UPP";
udd:="LTFunc4@LT_UDD";
d1:=EMA(ABS("ddx.ddx"),60);
d2:=MAX("ddx.ddx"/d1+7.5,7.5);
d3:=MIN("ddx.ddx"/d1,10);
fb:=IF(s1=0,hs,ls);
STICKLINE(p1=1 AND C>=O AND O<>0,C,O,d2,0),color5454ff;
STICKLINE(p1=1 AND C>=O AND O<>0,C,O,7.5,0),colorblack;
STICKLINE(p1=1 AND C>=O AND O<>0,C,C,7.5,0),color5454ff;
STICKLINE(p1=1 AND C>=O AND O<>0,O,O,7.5,0),color5454ff;
STICKLINE(p1=1 AND C>=O AND O<>0,O,C,7.5,1),color5454ff;
STICKLINE(p1=1 AND C<=O,O,C,7.5,1),color5454ff;
STICKLINE(p1=1 AND C<=O,L,C,0.5,1),color5454ff;
STICKLINE(p1=1 AND C<=O,H,O,0.5,1),color5454ff;
STICKLINE((p1<>1 OR BARSCOUNT(C)<3) AND C>=O,C,O,7.5,1),colorffff54;
STICKLINE((p1<>1 OR BARSCOUNT(C)<3) AND C>=O,C,H,0.5,1),colorffff54;
STICKLINE((p1<>1 OR BARSCOUNT(C)<3) AND C>=O,L,O,0.5,1),colorffff54;d1:=EMA(ABS("ddx.ddx"),60);
d2:=MAX("ddx.ddx"/d1+7.5,7.5);
d3:=MIN("ddx.ddx"/d1,10);
fb:=IF(s1=0,hs,ls);级别:d3,PRECIS1,LINETHICK0;
STICKLINE(p1=1 AND C<=O,C,O,5,0),colorgreen;
STICKLINE(p1=1 AND C<=O,C,H,0.5,0),colorgreen;
STICKLINE(p1=1 AND C<=O,L,O,0.5,0),colorgreen;
STICKLINE((p1<>1 OR BARSCOUNT(C)<3) AND C>=O,C,O,8,0),colorred;
STICKLINE((p1<>1 OR BARSCOUNT(C)<3) AND C>=O,C,H,0.5,1),colorred;
STICKLINE((p1<>1 OR BARSCOUNT(C)<3) AND C>=O,L,O,0.5,1),colorred;
DRAWBMP(p1=1 AND REF(p1,1)=0,L,'buy1.bmp');
DRAWBMP(p1=0 AND REF(p1,1)=1,H,'sell1.bmp');
买点:p1=1 AND REF(p1,1)=0,PRECIS0,LINETHICK0;
卖点:p1=0 AND REF(p1,1)=1,PRECIS0,LINETHICK0;
DRAWBMP(s1=1 AND REF(s1,1)=0 AND (p1+REF(p1,1))<>1,L,'bs.bmp');
DRAWBMP(s1=0 AND REF(s1,1)=1 AND (p1+REF(p1,1))<>1,H,'ss.bmp');
红点:s1=1 AND REF(s1,1)=0 AND (p1+REF(p1,1))<>1,PRECIS0,LINETHICK0;
绿点:s1=0 AND REF(s1,1)=1 AND (p1+REF(p1,1))<>1,PRECIS0,LINETHICK0;
超级线:EMA(C,5),COLOR00FF00;
PARTLINE(超级线,超级线>REF(超级线,1),RGB(255,0,0)),LINETHICK2;
强季线:EMA(C,120),LINETHICK2,COLOR00FF00;
M30日:MA(CLOSE,30),LINETHICK2,COLORFF00FF;
G:=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);
X:=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);
DRAWTEXT(G,L*0.999,'▲'),Colorff00ff;
DRAWTEXT(G,L,' ̄'),Color00ff00;
DRAWTEXT(X,H*1.00,'▼'),Color00ffff;
DRAWTEXT(X,H,' ̄'),Color00ffff;
Var326:=IF(CLOSE>REF(CLOSE,1),88,0);
Var327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND Var326>0, 91, 0);
DRAWTEXT(Var327>90,LOW*1.00,''),coloryellow;
TYP := (HIGH + LOW + CLOSE)/3;
yy:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),linethick0;
bb:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
VERTLINE((IF(CROSS(bb,-200),-200,0)),1),colorf00ff0,linethick3;TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' WWW.CXH99.COM '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花顺程序化交易');
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容