帮助你赚钱的 扬鞭公式 通达信公式
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:A+100,COLOR9900FF;
短期线:B+100,COLOR888888;
中期线:D+100,COLORYELLOW,LINETHICK1;
见顶:(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线) ;
顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND 短期线<长期线+4;
顶部:=FILTER(顶部区域,4);
底部区域:(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ;
STICKLINE( {见顶 OR} 顶部,99,103,20,1 ),COLORRED,LINETHICK2;
STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;
低位金叉:长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 );
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
VAR1:=3;
VAR2:=(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));
股价启动在即:IF(CROSS(VAR2,VAR1),90,0),COLORYELLOW;
秘密买点:IF((VAR2 <= 3),45,0),COLORFF00FF;
机构建增补仓:IF((VAR2 < 5),65,0),COLOR00FF00;
VARAA:=LLV(LOW,35);
VARBA:=HHV(HIGH,30);
VARCA:=EMA((CLOSE-VARAA)/(VARBA-VARAA)*4,4)*25;
趋势:= VARCA;
底背: STICKLINE(VARCA<10 AND 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))>97,0,25,5,0),COLORYELLOW;
顶背: STICKLINE(VARCA>90,100,85,3,0),COLORRED,LINETHICK1;
VARDA:=87.5;
VAREA:=(VARCA-LLV(VARCA,4))/(HHV(VARCA,4)-LLV(VARCA,4))*4*25;
目标位: DRAWTEXT(IF(CROSS(趋势,VARDA) AND VAREA=100,50,0),56,'目标'),COLORFF00FF;
跑: DRAWTEXT(IF(CROSS(VARDA,趋势),87,0),100,'●跑'),COLOR00FF00;
卖: DRAWTEXT(IF(CROSS(趋势,VAREA) AND 趋势>87,87,0),70,'卖'),COLOR00FF00;
VAR6A:=(2*C+H+L)/4;
VAR8A:=LLV(LOW,30);
VARA1:=HHV(HIGH,30);
BA:=EMA((VAR6A-VAR8A)/(VARA1-VAR8A)*100,8);
B1A:=EMA(BA,5);
V1:=(2*CLOSE+HIGH+LOW)/4;
V2:=LLV(LOW,21);
VA:=HHV(HIGH,34);
防线B:=EMA((V1-V2)/(VA-V2)*100,13);
防线BB:=EMA((0.667*REF(防线B,1)+0.333*防线B),2);
战略线:=EMA(0.382*REF(防线B,2)+0.618*防线B,12);
80,COLOR996699;
20,COLORGREEN;
10,COLORCC6633,LINETHICK2;
90,COLOR9966FF,LINETHICK2; |