洗盘指标源码(求高手帮助在通达信上。上升趋势20天均线向上,涨停板后双阴缩量洗盘第三日双阳胜阴预警公式?)
1. 求高手帮助在通达信上。上升趋势20天均线向上,涨停板后双阴缩量洗盘第三日双阳胜阴预警公式?
AA:=REF(C,3)>REF(O,3);BB:=DOWNNDAY(CLOSE,3);CC:=EVERY(V<REF(V,1),3);DD:=C>MA(C,20) AND MA(C,25)>REF(MA(C,25),1);XG:AA AND BB AND CC AND DD;
2. 通达信版本的主力进出和资金进出怎么改成选股公式?
通达信版本的主力进出和资金进出改成选股公式的主要步骤:主力进出场公式源码:
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)
; VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1)
; VAR3:=EMA(VAR2,10)
;VAR4:=LLV(LOW,33)
;VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3) ;主力进场:IF(VAR5>REF(VAR5,1),0,VAR5),COLORRED,NODRAW;STICKLINE(VAR5>REF(VAR5,1),VAR5,0,3,0 ),COLORRED;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN;VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1)
; VAR13:=EMA(VAR12,10)
;VAR14:=HHV(H,33)
;VAR15:=EMA(IF(H>=VAR14,VAR13,0),3)
;主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORYELLOW,POINTDOT,LINETHICK0;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0 ),COLORYELLOW;冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLORFF00FF,POINTDOT,LINETHICK0;STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLORFF00FF;A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0)COLORWHITE。
3. 请问谁有同花顺Level2主力持仓线公式源码?
同花顺主力控盘指标公式VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,0),colorwhite;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),colorwhite,NODRAW;开始控盘:IF(A10,5,0),LINETHICK1,coloryellow;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),colorred;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),colorred,NODRAW;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF;高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;VAR3:=AMOUNT/VOL/7;VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),10,1);VAR9:=EMA(VAR8,10);VAR10:=LLV(LOW,33);VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3);进场:IF(VAR11>REF(VAR11,1),VAR11,0),colorred,NODRAW;STICKLINE(VAR11>REF(VAR11,1),0,VAR11,1,0 ),colorred;洗盘:IF(VAR11<REF(VAR11,1),VAR11,0),COLORFFFF00,NODRAW;STICKLINE(VAR11<REF(VAR11,1),0,VAR11,1,0),COLORFFFF00;