江恩角度平移指標(biāo)源碼[其他軟件公式]
相關(guān)標(biāo)簽:通達(dá)信抓牛股超好指標(biāo) 、 通達(dá)信手機(jī)指標(biāo)源碼 、 bbi指標(biāo)詳解買入絕技 、 通達(dá)信九龍神奇指標(biāo) 、 捕捉牛股最準(zhǔn)確的指標(biāo) 、 股票中最神奇的指標(biāo) 、 準(zhǔn)確率100的技術(shù)指標(biāo) 、 犇股方程式指標(biāo)源碼 、 甘氏線指標(biāo)公式 、 精準(zhǔn)逃頂指標(biāo)公式 、 通達(dá)信主圖公式 、 暴漲牛股指標(biāo)源碼 、
?
?
?
s2:=SYSPARAM(2);
s3:=SYSPARAM(3);
s4:=SYSPARAM(4);
s5:=SYSPARAM(5);
hh:=hhvbars(H,s3-s2+1);
ll:=llvbars(L,s3-s2+1);
x:=barpos=s3-hh[s3];
y:=barpos=s3-ll[s3];
k:=(s4-s5)/(s3-s2);
DRAWSL(x,h,-5.5*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-11*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-15*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-22*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-45*k/45,0,0),COLORCYAN;
DRAWSL(x,h,-90*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-135*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-180*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,h,-360*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(x,s5,5.5*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,11*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,15*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,22*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,45*k/45,0,0),COLORMAGENTA;
DRAWSL(x,s5,90*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,135*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,180*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(x,s5,360*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s4,-5.5*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-11*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-15*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-22*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-45*k/45,0,0),COLORCYAN;
DRAWSL(y,s4,-90*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-135*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-180*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s4,-360*k/45,0,0),POINTDOT,COLORCYAN;
DRAWSL(y,s5,5.5*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,11*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,15*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,22*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,45*k/45,0,0),COLORMAGENTA;
DRAWSL(y,s5,90*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,135*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,180*k/45,0,0),POINTDOT,COLORMAGENTA;
DRAWSL(y,s5,360*k/45,0,0),POINTDOT,COLORMAGENTA;
JJ:=(C*2+H+L-O)/3;
E:=IF(L>AMOUNT/100/vol,JJ*V,AMOUNT/100);
A1:=SUM(E,3)/SUM(VOL,3);
A2:=SUM(E,8)/SUM(VOL,8);
A3:=SUM(E,21)/SUM(VOL,21);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
V1:=C-(A1+MA(C,3))/2;
V2:=C-(A2+MA(C,8))/2;
V3:=C-(A3+MA(C,21))/2;
VA1:=(C+V3-V1+MACD);
VA4:=(C+V2-V1+MACD);
DX:=EMA((VA1+VA4)/2,6);
生:DX;
PARTLINE(dx>=ref(dx,1),dx),COLORRED, LINETHICK2;
PARTLINE(dx<ref(dx,1),dx),COLORgreen, LINETHICK2;
th:=BARSLAST(h=s4);
tl:=BARSLAST(l=s5);
tm:=abs(th-tl);
drawtext(th=tm*1.5 or tl=tm*1.5,l-0.02,'時(shí)窗'),COLORWHITE;
drawtext(th=tm*2 or tl=tm*2,l-0.02,'時(shí)窗'),COLORyellow;
drawtext(th=tm*2.5 or tl=tm*2.5,l-0.02,'時(shí)窗'),COLORwhite;
drawtext(th=tm*3 or tl=tm*3,l-0.02,'時(shí)窗'),COLORyellow;
drawtext(th=tm*4 or tl=tm*4,l-0.02,'時(shí)窗'),COLORyellow;
drawtext(th=tm*5 or tl=tm*5,l-0.02,'時(shí)窗'),COLORyellow;
?
公式導(dǎo)入教程: 【通達(dá)信公式源碼導(dǎo)入方法教程】 【同花順公式源碼導(dǎo)入方法教程】 【大智慧新一代公式源碼導(dǎo)入方法教程】
?
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 或微信:cxhjy888 進(jìn)行 有償 編寫!
相關(guān)文章
-
沒有相關(guān)內(nèi)容