主图源码
X_1:=EMA(CLOSE,5)>EMA(CLOSE,20);
X_2:=EMA(CLOSE,5)<EMA(CLOSE,20);
X_3:=EMA(CLOSE,5)>EMA(CLOSE,10);
X_4:=EMA(CLOSE,5)<EMA(CLOSE,10);
X_5:=CLOSE<OPEN;
STICKLINE(X_1,HIGH,LOW,0,0),COLORRED;
STICKLINE(X_1,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(X_1 AND X_5,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(X_2,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(X_2,OPEN,CLOSE,3,1),COLORGREEN;
STICKLINE(X_2 AND X_5,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(X_2 AND X_3,HIGH,LOW,0,1),COLORWHITE;
STICKLINE(X_2 AND X_3,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(X_2 AND X_3 AND X_5,OPEN,CLOSE,3,0),COLORWHITE;
STICKLINE(X_1 AND X_4,HIGH,LOW,0,0),COLORWHITE;
STICKLINE(X_1 AND X_4,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(X_1 AND X_4 AND X_5,OPEN,CLOSE,3,0),COLORWHITE;
X_6:=INTPART((CLOSE/REF(CLOSE,1)*100-100)*100+0.5)/100;
X_7:=IF(X_6>=9.5,4,0);
STICKLINE(X_7>0,ABS(CLOSE-OPEN)/4+MIN(CLOSE,OPEN),MIN(CLOSE,OPEN),2,0),COLORLIRED;
STICKLINE(X_7>0,ABS(CLOSE-OPEN)/4+MIN(CLOSE,OPEN),ABS(CLOSE-OPEN)/4*2+MIN(CLOSE,OPEN),2,0),COLORLIMAGENTA;
STICKLINE(X_7>0,ABS(CLOSE-OPEN)/4*2+MIN(CLOSE,OPEN),ABS(CLOSE-OPEN)/4*3+MIN(CLOSE,OPEN),2,0),COLORYELLOW;
STICKLINE(X_7>0,ABS(CLOSE-OPEN)/4*3+MIN(CLOSE,OPEN),MAX(CLOSE,OPEN),2,0),COLORMAGENTA;
X_8:=EMA(EMA(EMA(CLOSE,2),2),2);
X_9:=MA(X_8,13)*0.99;
X_10:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
X_11:=MA(X_10,13);
X_12:=REF(CLOSE,1)-REF(X_11,1);
通天:HHV(X_12,12),COLORMAGENTA,LINETHICK3;
X_13:=EMA(AMOUNT/VOL/100,3);
辅助:EMA(X_13,88),COLORYELLOW,LINETHICK2;
DRAWICON(CROSS(通天,辅助),辅助,1);
DRAWICON(CROSS(X_9,辅助),辅助,34);
副图1 筹码
((CLOSE-REF(COST(90),1))/20+250)*1.2/5,COLORMAGENTA;
((REF(COST(90),1)-CLOSE)/20+250)*1.2/5,COLORCYAN;
((CLOSE-REF(COST(10),1))/20+250)*1.2/5,COLORRED;
((REF(COST(10),1)-CLOSE)/20+250)*1.2/5,COLORBLUE;
DRAWTEXT_FIX(CLOSE>OPEN,0.92,0.95,0,128),COLORLIMAGENTA;
副图2
M1:=C>REF(C,4);
M2:=C<REF(C,4);
T1:=M2 AND REF(M1,1);
T2:=M2 AND REF(T1,1);
T3:=M2 AND REF(T2,1);
T4:=M2 AND REF(T3,1);
T5:=M2 AND REF(T4,1);
T6:=M2 AND REF(T5,1);
T7:=M2 AND REF(T6,1);
T8:=M2 AND REF(T7,1);
T9:=M2 AND REF(T8,1);
等阳光:T9+0.68,COLORFF8000;
ZD1:=MA(MA(L,9),9)-(MA(MA(H,9),9)-MA(MA(L,9),9))*1.2,LINETHICK2,COLORRED;
ZD2:=EMA(ZD1,9),LINETHICK2;
LC:=REF(CLOSE,1);
介入:=SMA(MAX(CLOSE-LC,0),110,1)>SMA(ABS(CLOSE-LC),110,1)*250;
区间买阳光:介入-7<1 AND ZD1<ZD2 AND L<ZD1,COLORFFFF80;