通达信神奇波段指标
VAR6:=(REF(LOW,1) * 0.9);
VAR7:=(LOW * 0.9);
VAR8:=(((VAR7 * VOL) + (VAR6 * (CAPITAL - VOL))) / CAPITAL);
VAR9:=EMA(VAR8,30);
VARA:=(CLOSE - REF(CLOSE,1));
VARB:=MAX(VARA,0);
VARC:=ABS(VARA);
VARD:=((SMA(VARB,7,1) / SMA(VARC,7,1)) * 100);
VARE:=((SMA(VARB,13,1) / SMA(VARC,13,1)) * 100);
VARF:=BARSCOUNT(CLOSE);
VAR10:=((SMA(MAX(VARA,0),6,1) / SMA(ABS(VARA),6,1)) * 100);
VAR11:=((((0 - 200) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 100);
VAR12:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100);
VAR13:=SMA(((SMA(VAR12,4,1) - 50) * 2),3,1);
VAR14:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100);
VAR15:=SMA(VAR14,4,1);
VAR16:=SMA(VAR15,3,1);
VAR17:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100);
VAR18:=(((((((((VAR10 20)) AND (VAR13 = (0 - 0.25))) AND (VARD 50));
VAR19:=(((HIGH + LOW) + CLOSE) / 3);
VAR1A:=((VAR19 - MA(VAR19,14)) / (0.015 * AVEDEV(VAR19,14)));
VAR1B:=((VAR19 - MA(VAR19,70)) / (0.015 * AVEDEV(VAR19,70)));
VAR1C:=IF(((((VAR1A >= 150) AND (VAR1A = 150)) AND (VAR1B (0 - 200))) AND (VAR1B (0 - 200))),(0 - 10),VAR1C);
VAR1E:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);
VAR1F:=REVERSE(VAR1E);
VAR20:=SMA(VAR1E,3,1);
VAR21:=SMA(VAR20,3,1);
VAR22:=SMA(VAR21,3,1);
VAR25:=(((HHV(HIGH,14) - CLOSE) / (HHV(HIGH,14) - LLV(LOW,14))) * 100);
VAR26:=SMA(VAR25,15,1);
VAR27:=SMA(VAR26,15,1);
VAR28:=COST(10);
VAR29:=(((CLOSE - VAR28) / VAR28) * 100);
VAR2A:=COUNT((VAR29 = 3) AND (PWINNER(5,CLOSE) LLV(LOW,5))) AND (SMA((((HHV(HIGH,9) - CLOSE) / (HHV(HIGH,9) - LLV(LOW,9))) * 100),3,1) > 80));
VAR2D:=(((CLOSE - OPEN) / OPEN) * 100);
VAR2E:=REF(CLOSE,1);
VAR2F:=((SMA(MAX((CLOSE - VAR2E),0),6,1) / SMA(ABS((CLOSE - VAR2E)),6,1)) * 100);
VAR30:=(COUNT((VAR2F = 1);
VAR31:=IF(((VAR2D > 9) AND VAR30),60,0);
牵手:STICKLINE(((VAR2B OR VAR31) OR (VAR2C * 60)),0,40,2,0),COLOR66CCFF;VARI2:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5);
VARI3:=REF(VARI2,1);
VARI4:=((SMA(MAX((VARI2 - VARI3),0),10,1) / SMA(ABS((VARI2 - VARI3)),10,1)) * 100);VA1:=3;
VA2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
启动:IF(CROSS(VA2,VA1),35,0);
买点:IF((VA2 100),(VR9 - 100),0);
VRA:=HHV(HIGH,60);
防线B:=EMA((((VR6 - VR8) / (VRA - VR8)) * 100),8);
B1:=EMA(防线B,5);
LL:=REF(CLOSE,1);
MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
高位:IF(CROSS(80,MM),60,100),COLORFFCC66;
趋势:B1,COLORYELLOW,LINETHICK2;
守仓:STICKLINE(((防线B - B1) > 0),防线B,B1,4,0),COLORRED;
空仓:STICKLINE(((防线B - B1) = 150) AND (V6 = 150)) AND (V7 (0 - 200))) AND (V7 (0 - 200))),(0 - 10),V8);
多方:=IF((V1 > 0),V1,0);
预警:(IF((((V7 >= 200) AND (V6 >= 150)) OR CROSS(65,多方)),15,IF(((V7 O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'交易策略'),COLORRED;