{抄底和中长期}
VAR1:=(HHV(HIGH,9)-LLV(LOW,9));
VAR2:=(HHV(HIGH,9)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,9));
VAR4:=VAR2/VAR1*100-70 ;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:= IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,34);
防线B:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8);
B1:=EMA(防线B,5);
★乌云翻滚:IF(防线B>65 AND 防线B<80 AND 防线B-B1<0,90,80),STICK,LINETHICK2,COLORF0000F;
80,STICK,LINETHICK2,COLOR000000;
丰收在望:IF(防线B>70 AND 防线B-B1>=0,79,69),STICK,LINETHICK2,COLORF00FF0;
69,STICK,LINETHICK2,COLOR000000;
冰山沉船:IF(防线B>26 AND 防线B<65 AND 防线B-B1<0,58,48),STICK,LINETHICK2,COLORWHITE;
48,STICK,LINETHICK2,COLOR000000;
★守仓待涨:IF(防线B>47 AND 防线B<70 AND 防线B-B1>=0,47,37),STICK,LINETHICK2,COLORYELLOW;
37,STICK,LINETHICK2,COLOR000000;
青龙戏水:IF(防线B>5 AND 防线B<35 AND 防线B-B1<0,36,26),STICK,LINETHICK2,COLORFFF000;
26,STICK,LINETHICK2,COLOR000000;
★开仓进宝:IF(防线B>17 AND 防线B<59 AND 防线B-B1>=0,25,15),STICK,LINETHICK2,COLOR00FF00;
15,STICK,LINETHICK2,COLOR000000;
VARX1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VARX2:=SMA(VARX1,9,1)+100;
VARX3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARX4:=SMA(VARX3,3,1);
VARX5:=SMA(VARX4,3,1)+100;
VARX6:=VARX5-VARX2;
100,COLORYELLOW;
逃顶: IF(VARX6>100,80,100) ,LINETHICK2, COLOR00FF00;
★空仓观望★:IF( 逃顶=0,15,-10),STICK,LINETHICK7,COLORRED;
{股民学院 整理}
无限风光:IF(防线B-B1>0,防线B,0),POINTDOT,LINETHICK5,COLORRED;
泰坦尼克:IF(防线B-B1<0,B1,0),POINTDOT,LINETHICK5,COLORFFF000;
{VARB1:=ZIG(3,13);
乌云盖顶:IF( REF(VARB1,2)55,100),COLORBLUE;
猎豹出击: IF(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1)
, 45,0),COLORRED;}
{DRAWICON(CROSS(B1 ,16) ,20 ,3 );}
抄底:IF(VARX6<20,20,0) ,LINETHICK2, COLORRED;
★春种:IF(CROSS(B1 ,16) ,B1+12 ,0 ),LINETHICK2,COLORYELLOW;
★丰收:IF(CROSS(B1 ,防线B )AND B1>74 ,60,100 ),LINETHICK2,COLORBLUE;
{VARB1:=ZIG(3,13);
猎豹出击: IF(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1)
, 45,0),COLORRED;};
【炒股入门知识学习】抄底和中长期(通达信公式源码)
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。