以下是四线开花指标源码
四线开花选股指标源码:
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=IF(AAA1 REF(AAA1,1),AAA1,DRAWNULL);
AAA下:=IF(AAA1 REF(AAA1,1),AAA1,DRAWNULL);
线:=15;
:=AAA1-REF(AAA1,1),COLORRED;
WL:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6),LINETHICK1,COLOR0000FF;
WL3:=MA(WL,3),COLOR00FFFF;
WLT:=MA(WL,89),COLOR00FFFF,LINETHICK1;
T8:=FILTER(CROSS(WL,WL3)ANDWL3 WLT,5);
VAR6:=MA(WINNER(CLOSE),1)*100;
底部:=CROSS(VAR6,2.5);
STICKLINE(底部,0,0.5,0.5,0),COLORWHITE;
选股:(CROSS(AAA1,0)ANDCROSS(主力,0)AND主力/AAA上 1ANDT8ANDWL 0ANDWL -2)*0.20;
STICKLINE(选股,0,0.20,3.5,0),COLOR008080;
A1:=CROSS(MA(C,5),MA(C,10));
A2:=CROSS(MA(V,5),MA(V,10));
A3:=CROSS("MACD.DIF","MACD.DEA");
A4:=CROSS(".K","KDJ.D");
XG:A1ANDA2ANDA3ANDA4;
AAA:=Dma((((HIGH+LOW)+(CLOSE*2))/4.15),0.9);
AAA1:=REF(EMA(AAA,3),1);
AAA2:="kdj.J" 50ANDC REF(C,3);
A:=(C-MA(C,30))/MA(C,30)*100;
A1:=crOSS(0,(C-MA(C,5))/MA(C,5)*100);
A2:=A REF(A,1);
A3:=MA(C,10) REF(MA(C,10),1);
A4:=FILTER(A1ANDA2ANDA3,10);
A5:=(2*CLOSE+HIGH+LOW)/4;
A6:=MA(EMA((A5-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5),1);
B3:=REF(A4,2)ANDCROSS(C,EMA(CLOSE,5));
B4:=A6 REF(A6,1)ANDREF(A6,1) REF(A6,2);
AB:=/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
AB1:=IF(CLOSE OPEN,AB*(HIGH-LOW),IF(CLOSE OPEN,AB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
AB2:=IF(CLOSE OPEN,AB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,AB*(HIGH-LOW),VOL/2));
AB3:="kdJ.J"
BBBB:=AB1 AB2*6ANDAB3;
BBBB1:=CROSS(CLOSE,AAA1)ANDAAA2;
BBBB2:=B3ANDB4;
BBBBORBBBB1ORBBBB2;
四线开花选股指标截图