源码
{DRAWGBK(DATE>900103,STRIP(RGB(80,100,255),RGB(120,120,255),1));}
★洗钱★:=(CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34)) * 1.2 * CLOSE;
★洗钱★A:=SMA(★洗钱★,13,1);
【洗钱】目的:SMA(★洗钱★A,5.5,1.5),LINETHICK2,ColorFF62FF;
★洗钱★B:=3 * ★洗钱★A - 2 * 【洗钱】目的;
空方:=4 * 【洗钱】目的- 3 * ★洗钱★A;
亏空:IF(空方 > ★洗钱★B,★洗钱★B,空方),LINETHICK0;
均价:=(CLOSE + HIGH + LOW + OPEN) / 4;
量:=(CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34)) * 1.2 * CLOSE;
量1:=EMA(量,3);
量2:=EMA(量,5);
量3:=EMA(量,7);
STICKLINE(量1 >= 量2,量3,量1,10,0 ),COLOR00008A;
STICKLINE(量1 >= 量2,量3,量1,7,0),color00009A;
STICKLINE(量1 >= 量2,量3,量1,6,0),color0000A9;
STICKLINE(量1 >= 量2,量3,量1,5,0),color0000B2;
STICKLINE(量1 >= 量2,量3,量1,4,0),color0033B2;
STICKLINE(量1 >= 量2,量3,量1,3,0),color0033FF;
STICKLINE(量1 >= 量2,量3,量1,2,0),color9933FF;
STICKLINE(量1 >= 量2,量3,量1,1,0),color0000FF;
STICKLINE(量1 <= 量2,量3,量1,10,0),colorFF0000;
STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300;
STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500;
STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700;
STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900;
STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00;
STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00;
STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00;
T1:=量2 >= 量3 AND 量1 < REF(量1,1);
T2:=量2 < 量3 AND 量1 > REF(量1,1);
STICKLINE(T1,量1,量3,8,0),colorFFBB11;
STICKLINE(T1,量1,量3,7,0),colorFFCC22;
STICKLINE(T1,量1,量3,5,0),colorFFDD33;
STICKLINE(T1,量1,量3,3,0),colorFFEE44;
STICKLINE(T1,量1,量3,1,0),colorFFFF55;
STICKLINE(T2,量1,量3,10,0),color338FDD;
STICKLINE(T2,量1,量3,8,0),colorFF00FF;
STICKLINE(T2,量1,量3,1,0),color00DDFF;
STICKLINE(T2,量1,量3,8,0),color00AAFF;
STICKLINE(T2,量1,量3,6.6,0),color00BBFF;
STICKLINE(T2,量1,量3,4.4,0),color00CCFF;
STICKLINE(T2,量1,量3,3.3,0),color00DDFF;
STICKLINE(T2,量1,量3,2.2,0),color00EEFF;
STICKLINE(T2,量1,量3,1,0),color00FFFF;
收益:IF(【洗钱】目的 > ★洗钱★B,【洗钱】目的,★洗钱★B),LINETHICK0,ColorFFFFFF,LINETHICK2;