以下是最好的趋势为王主图指标公式源码和使用说明
最好的趋势为王主图指标公式源码:
LC:=REF(CLOSE,1);
VID:=SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC:=(CLOSE-LC)*VID;
LONG:=SUM(RC,0);
DIFF:=SMA(LONG,10,1);
DEA:=SMA(LONG,20,1);
LON:=(DIFF-DEA)*10,COLOR00DD00,LINETHICK1;
LONMA:MA(LON,10),COLORFFFFFF,LINETHICK2;
LONT:LON,COLORSTICK;
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY:=VAR2*(1+VAR1);
SHT:=MY;
SHTMA:=MA(SHT,5);
LONT1:=MA(LONT,3);
STICKLINE(SHTMA>MY,LONT,LONT1,2,0),COLOR55FF22;
STICKLINE(SHTMA<MY,LONT,LONT1,2,0),COLOR9900FF;
趋势为王主图:MA(C,20),COLORWHITE,LINETHICK2;
指标公式源码:MA(C,120),COLORFFCCCC,LINETHICK2;
ccds1:MA(C,250),COLORFFCC66,LINETHICK2;
主力庄家:=((C-REF(趋势为王主图,1))/20+趋势为王主图)*1.20;
ffgge1:=CROSS(趋势为王主图,指标公式源码)ANDCROSS(趋势为王主图,ccds1)ANDV>REF(V,1);
ffgge2:=趋势为王主图>REF(趋势为王主图,2)ANDV>REF(V,1)ANDCROSS(C,趋势为王主图);
STICKLINE(ffgge1,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(ffgge1,L-0.13,’金叉‘),COLORYELLOW;
STICKLINE(CROSS(C,指标公式源码)ANDCROSS(C,ccds1)ANDCROSS(C,趋势为王主图),L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(CROSS(C,指标公式源码)ANDCROSS(C,ccds1)ANDCROSS(C,趋势为王主图),L-0.13,’主力出现’),COLORYELLOW;
STICKLINE(ffgge2,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(ffgge2,L-0.13,’买点1′),COLORYELLOW;
STICKLINE(CROSS(C,主力庄家),H,H+0.09,4,0),COLOR00FF00;
DRAWTEXT(CROSS(C,主力庄家),H+0.13,’卖点’),COLOR00FF00;
STICKLINE(ccds1>=REF(ccds1,1)AND趋势为王主图>=REF(趋势为王主图,1)ANDCROSS(C,ccds1),L,L-0.09,4,0),COLORFFCC66;
DRAWTEXT(ccds1>=REF(ccds1,1)AND趋势为王主图>=REF(趋势为王主图,1)ANDCROSS(C,ccds1),L-0.13,”),COLORFFCC66;
STICKLINE(指标公式源码>=REF(指标公式源码,1)ANDCROSS(C,趋势为王主图)ANDCROSS(C,指标公式源码)ANDV>REF(V,1),L,L-0.09,4,0),COLORFF00FF;
DRAWTEXT(指标公式源码>=REF(指标公式源码,1)ANDCROSS(C,趋势为王主图)ANDCROSS(C,指标公式源码)ANDV>REF(V,1),L-0.13,’买点2′),COLORFF00FF;
wwee1:=SUM(AMOUNT,3)/SUM(VOL,3)/100;
wwee2:=SUM(AMOUNT,8)/SUM(VOL,8)/100;
wwee3:=SUM(AMOUNT,21)/SUM(VOL,21)/100;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
swss1:=C-(wwee1+MA(C,3))/2;
swss2:=C-(wwee2+MA(C,8))/2;
swss3:=C-(wwee3+MA(C,21))/2;
Vwwee1:=(C+swss3-swss1+MACD);
swaa1:=(C+swss2-swss1+MACD);
swaa2:EMA(Vwwee1,6),LINETHICK2,COLORYELLOW;
趋势射线3X:DRAWLINE(L=LLV(L,3),L,C=HHV(C,3),L,0),COLOR9A90FF;
趋势射线7:DRAWLINE(H=HHV(H,7),H,L=LLV(L,7),L,0),COLOR9AFF89;
射线7X:DRAWLINE(L=LLV(L,7),L,H=HHV(H,7),L,0),COLOR9AFF89;
趋势射线21:DRAWLINE(H=HHV(H,21),H,L=LLV(L,21),L,0),COLORC100FF;
射线21X:DRAWLINE(L=LLV(L,21),L,H=HHV(H,21),L,0),COLORC100FF;
趋势射线35:DRAWLINE(H=HHV(H,35),H,L=LLV(L,35),L,0),COLORC1005B;
射线35X:DRAWLINE(L=LLV(L,35),L,H=HHV(H,35),L,0),COLORC1005B;
趋势射线49:DRAWLINE(H=HHV(H,49),H,L=LLV(L,49),L,0),COLORYELLOW;
射线49X:DRAWLINE(L=LLV(L,49),L,H=HHV(H,49),L,0),COLORYELLOW;
最好的趋势为王主图指标公式截图
评论(0)