副图源码:
N:=40;
N1:=20;
VAR1:((3 * SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1),3,1)));
VAR2:((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1)));
股价启动在即:=IF(CROSS(VAR2,VAR1),100,0);
秘密买点:IF((VAR2 <= 3 AND VAR2>REF(VAR2,1)),55,0),COLORYELLOW;
STICKLINE((REF(VAR2,1)<=3 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),0,55,0.5,0),COLORYELLOW;
机构建增补仓:=IF((VAR2 < 5),45,0);
绝密买点:IF((VAR2 <= 0 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),55,0),COLORRED;
STICKLINE((REF(VAR2,1) < 0 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),0,55,0.5,0),COLORRED;
秘密点选1:
N:=40;
N1:=20;
VAR1:=((3 * SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1),3,1)));
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1)));
TJ1:=VAR2>REF(VAR2,1)AND REF(VAR2,1)<=3 AND REF(VAR2,1)<REF(VAR2,2);
TJ2:=VAR1>REF(VAR1,1)AND REF(VAR1,1)<REF(VAR1,2);
TJ3:="MACD.MACD"(9,19,7)>REF("MACD.MACD"(9,19,7),1)AND "KDJ.K"(9,3,3)>REF("KDJ.K"(9,3,3),1) AND (CROSS(CCI(14),-150)OR CROSS(CCI(14),0));
XG:TJ1 AND TJ2 AND TJ3;
秘密点选2:
N:=40;
N1:=20;
VAR1:=((3 * SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1),3,1)));
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1)));
股价启动在即:=IF(CROSS(VAR2,VAR1),100,0);
机构建增补仓:=IF((VAR2 < 5),45,0);
绝密买点:IF((VAR2 <= 0 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),55,0),COLORRED; |