{智融指南针副图源码如下}
ABC_1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
ABC_2:=SMA(SMA(ABC_1,3,1),3,1)/28.57;
ABC_3:=EMA(ABC_2,5);
ABC_4:=3*ABC_2-2*ABC_3;
ABC_5:=CROSS(ABC_4,ABC_2) AND ABC_2<2.1 AND CLOSE>OPEN;
ABC_6:=CROSS(ABC_4,ABC_2) AND ABC_2<2.1 AND CLOSE>OPEN;
ABC_7:=(2*CLOSE+HIGH+LOW)/4;
ABC_8:=LLV(LOW,13);
ABC_9:=HHV(HIGH,13);
ABC_10:=EMA((ABC_7-ABC_8)/(ABC_9-ABC_8)*100,13);
ABC_11:=EMA(0.667*REF(ABC_10,1)+0.333*ABC_10,2);
ABC_12:=ABC_10;
指标平台:=EMA(H,25),COLORGREEN;
好股网:=EMA(L,25),COLORGREEN;
ABC111:=PLOYLINE(C>指标平台,指标平台);
A222:=IF(C>指标平台,ABC111,DRAWNULL),COLORRED;
B111:=PLOYLINE(C>好股网,好股网);
B222:=IF(C>好股网,B111,DRAWNULL),COLORRED;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,3,0),COLOR0055AA;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,2.8,0),COLOR0066BB;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,2.5,0),COLOR0077CC;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,2.2,0),COLOR0088DD;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,1.7,0),COLOR0099EE;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,1.2,0),COLOR00AAFF;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,0.7,0),COLOR00CCFF;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,0.2,0),COLORYELLOW;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,3,0),COLOR990099;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,2.8,0),COLOR990088;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,2.5,0),COLOR990077;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,2.2,0),COLOR990066;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,1.7,0),COLOR990055;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,1.2,0),COLORBB00BB;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,0.7,0),COLORDD00DD;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,0.2,0),COLORMAGENTA;
ABC_13:=10;
安全区:20,COLORLIRED;
中轨:50,COLORYELLOW;
高位:80,COLORLIBLUE;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DD:=MACD>0;
启动:EMA(0.382*REF(ABC_10,2)+0.618*ABC_10,6),COLORRED;
好股2:IF(启动>REF(启动,1),启动,DRAWNULL),COLORRED,LINETHICK4;
好股3:IF(启动<REF(启动,1),启动,DRAWNULL),COLORLIBLUE,LINETHICK2;
共振:=BARSLASTCOUNT(ABC_10>ABC_11 AND 好股2)=1;
STICKLINE(共振 AND B222 AND DD AND C>O,82,20,0.005,1),COLORRED;
DRAWICON(共振 AND B222 AND DD AND C>O,85,25),COLORYELLOW;
DRAWICON(共振 AND B222 AND DD AND C>O,75,26),COLORYELLOW;
DRAWICON(共振 AND B222 AND DD AND C>O,65,27),COLORYELLOW;
{智融指南针主图源码如下}
SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;
MA5:MA(CLOSE,5)DOTLINE COLORWHITE;
DRAWBAND(SWL,RGB(255,50,50),SWS,RGB(64,204,208));
STICKLINE(C>O,C,O,2.8,0),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
AA:=C>MA(C,10);
ABC_1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
ABC_2:=SMA(SMA(ABC_1,3,1),3,1)/28.57;
ABC_3:=EMA(ABC_2,5);
ABC_4:=3*ABC_2-2*ABC_3;
ABC_5:=CROSS(ABC_4,ABC_2) AND ABC_2<2.1 AND CLOSE>OPEN;
ABC_6:=CROSS(ABC_4,ABC_2) AND ABC_2<2.1 AND CLOSE>OPEN;
ABC_7:=(2*CLOSE+HIGH+LOW)/4;
ABC_8:=LLV(LOW,13);
ABC_9:=HHV(HIGH,13);
ABC_10:=EMA((ABC_7-ABC_8)/(ABC_9-ABC_8)*100,13);
ABC_11:=EMA(0.667*REF(ABC_10,1)+0.333*ABC_10,2);
ABC_12:=ABC_10;
指标平台:=EMA(H,25),COLORGREEN;
好股网:=EMA(L,25),COLORGREEN;
ABC111:=PLOYLINE(C>指标平台,指标平台);
A222:=IF(C>指标平台,ABC111,DRAWNULL),COLORRED;
B111:=PLOYLINE(C>好股网,好股网);
B222:=IF(C>好股网,B111,DRAWNULL),COLORRED;
启动:=EMA(0.382*REF(ABC_10,2)+0.618*ABC_10,6),COLORRED;
启动1:=BARSLASTCOUNT(ABC_10>ABC_11 AND 启动)=1 AND AA;
STICKLINE(启动1,O,C,3,0),COLOR0055AA;
STICKLINE(启动1,O,C,2.8,0),COLOR0066BB;
STICKLINE(启动1,O,C,2.5,0),COLOR0077CC;
STICKLINE(启动1,O,C,2.2,0),COLOR0088DD;
STICKLINE(启动1,O,C,1.7,0),COLOR0099EE;
STICKLINE(启动1,O,C,1.2,0),COLOR00AAFF;
STICKLINE(启动1,O,C,0.7,0),COLOR00CCFF;
STICKLINE(启动1,O,C,0.2,0),COLORYELLOW;
DRAWICON(启动1,L,9);