黄金七线指标源码 趋势主图公式[大智慧公式]
相关标签: 黄金七线指标源码,趋势主图公式,趋势画线主图源码,长期趋势 源码 主图,黄金线 趋势图源码,丁丁五线主图指标源码, 、
黄金七线指标源码:
DRAWRECT( 0,45 , bkname),COLORFF00FF;
DRAWTEXTABS(0,30,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' ),COLORFF00FF;
p:=HHV(h,75);
p1:=llv(l,75);
h1:p-(p-p1)*0.191;
h3:p-(p-p1)*0.35765;
h5:p-(p-p1)*0.5;
h6:p-(p-p1)*0.6423;
h8:p-(p-p1)*0.809,COLORBROWN;
绝底:p-(p-p1);
绝顶:p1+(p-p1),COLORRED;
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
DRAWICON(ref(MAcd,1)=llv(MAcd,3),l,7),align1;
V1:=EMA(EMA(EMA(CLOSE,8),13),55);
V2:=(ref(HIGH,1)+ref(LOW,1))/2;
V3:=MA(CLOSE,20)+2*STD(CLOSE,20);
DRAWICON(CROSS(V2,V3),HIGH*1.035,10);
DRAWTEXT(CROSS(V2,V3),HIGH*1.02,'绝顶'),COLORblue;
V4:=ref(CLOSE,1);
V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100;
V6:=CROSS(79,V5);
V7:=FILTER(V6,4);
DRAWICON(V7,HIGH*1.035,10);
DRAWTEXT(V7,HIGH*1.02,'绝顶'),COLORgreen;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
K:=SMA(R,3,1);
D:=SMA(K,3,1);
DRAWICON(CROSS(D,K),HIGH*1.035,10);
DRAWTEXT(CROSS(D,K),HIGH*1.02,'逃'),COLORgreen;
a1:=ref(c,5)<ref(O,5) and ref(c,4)<ref(O,4) and ref(c,3)<ref(O,3);
DRAWTEXT((a1 AND all(C>O,2)) OR (a1 AND C>O AND ref(C,1)<ref(O,1) AND ref(C,2)>ref(O,2)),L*0.965,'抄底');
(责任编辑:程序化交易网整理)
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)