通达信百万操盘副图指标
通达信百万操盘副图指标
源码
VAR1:=1; 趋势线: VAR1*(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50), , ; VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR3:=LLV(LOW,34); VAR4:=HHV(HIGH,34); SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1; SD: EMA(SK,3)*VAR1; 买入: IF(CROSS(趋势线,8.5),60,19)*VAR1, , ; 卖出: IF(CROSS(87,趋势线),40,81)*VAR1, ,; VAR5:=AMOUNT/VOL/100; VAR6:=IF(VAR5>CLOSE*1.1,CLOSE,IF(VAR5<CLOSE*0.9,CLOSE,VAR5)); VAR7:=100*WINNER(VAR6); VAR8:=MA(VAR7,8)*VAR1; VAR9:=HHV(CLOSE,0)/VAR8; VARA:=IF(VAR9>2.5,-10,VAR9); VARB:=IF(VARA>1,-10,VARA); 底限: VARB, , ; VARC:=VAR8/LLV(LOW,0); VARD:=HHV(HIGH,0)/VAR8*8*10; VARE:=IF(VARD>50,50,VARD); VARF:=VARE; VAR10:=HHV(HIGH,0)/VAR8*4.5*100; VAR11:=IF(VAR10>100,103,VAR10); DRAWTEXT(VAR1 AND CROSS(87,趋势线),35,'逃'), , ; DRAWTEXT(VAR1 AND CROSS(趋势线,8.5),65,'买'), , ; DRAWTEXT(VAR1 AND CROSS(90,VAR8),86,'诱多'), , ; DRAWTEXT(VAR1 AND CROSS(VAR8,10),11,'吸筹'), , ; DRAWTEXT(VAR1 AND CROSS(VAR8,46),VAR8,'拉升'), ,; VAR13:=IF(CROSS(SK,SD),23,19); VAR14:=IF(CROSS(SD,SK),77,81); 卖出1: VAR14; 买进: VAR13;
- 上一篇公式:通达信各路资金博弈指标
- 下一篇公式:通达信超跌购买副图指标