通达信江南雨Y源码
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.4,0),COLOR00EEFF;
{STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLORFF55BB;}
{DRAWTEXT(CROSS(绝佳买点,4.50000) ,88,'买'),COLOR00FFFF,LINETHICK2;}
{DRAWTEXT(CROSS(绝佳买点,7.00000) ,88,'3'),COLORCYAN,LINETHICK4;
DRAWTEXT(CROSS(绝佳买点,3.60000) ,28,'2'),COLORFF00FF,LINETHICK4;
DRAWTEXT(CROSS(绝佳买点,2.40000) ,-55,'1'),COLORFFFFCC,LINETHICK3 ;
DRAWTEXT(CROSS(绝佳买点,1.20000) ,-32,'0'),COLORYELLOW,LINETHICK2 ;}
{VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;
VAR3:=EMA(VAR2,13);
VAR4:=LLV(LOW,34);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
VAR5>REF(VAR5,1);}
VAR7:=LLV(LOW,P1);
VAR8:=HHV(HIGH,P1);
K:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*100,P2),COLORWHITE;
D:=EMA(0.667*REF(K,1)+0.333*K,2),COLORYELLOW;
VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
VARD:=EMA(IF(C< EMA(C,250),VARC*1000,VARC*10),3);
能量潮:EMA(IF(L<=LLV(L,30),VARD/2+HHV(VARD,30),0),3)/618,COLORGREEN;
STICKLINE(能量潮>100,0,能量潮*1.2,8,0),COLORGREEN;
STICKLINE(能量潮>100,0,能量潮,4,1),COLORFF00FF;
金包: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,20,0),COLORYELLOW ,LINETHICK1 ;
VAR9:=PEAKBARS(3,15,1)<10;
VAR10:=IF(VAR9=1,2,0);
顶1:= IF(VAR10=2,2,0);
顶2:IF(顶1>REF(顶1,1),50,0),COLORGREEN;
DRAWTEXT(顶2=50,45,'快逃'),COLOR00FF00;
DRAWTEXT(金包=20,20,'金包'),COLORRED;
80, POINTDOT;
20, POINTDOT;
- 上一篇公式:通达信四季变天主图源码
- 下一篇公式:通达信机构主力源码