源码
底部:=IF((((1 / WINNER(CLOSE)) > 100) AND (ABS((((COST(50) - CLOSE) / CLOSE) * 100)) > (100 - ABS(((((((CLOSE - MA(CLOSE,10)) / MA(CLOSE,10)) * 100) + (((CLOSE - MA(CLOSE,20)) / MA(CLOSE,20)) * 100)) + (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) * 100)) / 3))))),100,0);
大底:IF(((REF(底部,1) > 0) AND (底部 = 0)),100,0),STICK,LINETHICK3,colorFF;
DRAWTEXT(大底,50.2,'大底'),LINETHICK2,colorFFFFFF;
DRAWTEXT(IF(CROSS(85,((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)))),100,0),96,'逃'),colorFFFFFF;
买入:IF(((((1 / WINNER(CLOSE)) > 100) AND (ABS((((COST(50) - CLOSE) / CLOSE) * 100)) > 50)) AND IF((((1 / WINNER(CLOSE)) < REF((1 / WINNER(CLOSE)),1)) AND (REF((1 / WINNER(CLOSE)),1) > REF((1 / WINNER(CLOSE)),2))),120,0)),100,0),STICK,colorFF;
DRAWTEXT((买入 > 0),90,'买50'),LINETHICK2,colorCCCCFF;
买入A:IF(((((1 / WINNER(CLOSE)) > 100) AND (ABS((((COST(50) - CLOSE) / CLOSE) * 100)) > 30)) AND IF((((1 / WINNER(CLOSE)) < REF((1 / WINNER(CLOSE)),1)) AND (REF((1 / WINNER(CLOSE)),1) > REF((1 / WINNER(CLOSE)),2))),120,0)),30,0),STICK,LINETHICK2,colorFF;
DRAWTEXT((买入A > 0),25,'买30'),LINETHICK3,colorFFFF;
VAR1:=REF(CLOSE,2);
短线:((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100),colorFFFF00;
车弩机:IF((短线 < 12),30,0);
VAR2:=REF(CLOSE,1);
VAR3:=((SMA(MAX((CLOSE - VAR2),0),7,1) / SMA(ABS((CLOSE - VAR2)),7,1)) * 100);
弯弓:IF((VAR3 < 12),30,0);
逢高派发区:STICKLINE((短线 > 80),(短线 + 10),(短线 - 10),1.5,0),colorFF;
VAR1J:=((CLOSE / (EMA(EMA((((CLOSE + LOW) + HIGH) / 3),3),26) * 0.9)) < 0.95);
放箭:IF(VAR1J,15,0),STICK,LINETHICK3,colorFF;
DRAWTEXT(VAR1J,8,'箭'),colorF0F000;
VARE1:=((INDEXC - REF(INDEXC,1)) / REF(INDEXC,1));
VARE2:=((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1));
VARE3:=(IF((VARE1 > 0.01),0.9,1) AND IF((VARE1 > (0 - 0.025)),1,1.2));
VARE4:=((VARE3 * (VARE2 - VARE1)) * 100);
VARE5:=SUM(VARE4,10);
VARE6:=SMA(VARE5,40,1);
VARE7:=IF((((CLOSE AND (MA(VOL,5) / 240)) AND (CLOSE > (REF(CLOSE,1) * 1))) AND CLOSE),88,0);
VARE8:=IF(((((((CLOSE / REF(CLOSE,1)) > 1.05) AND (((VOL / CAPITAL) * 100) < 10)) AND (CLOSE < 17)) AND ((HIGH / CLOSE) < 1.01)) AND (VARE7 > 0)),91,0);
追击:IF((VARE8 > 90),30,0),STICK,LINETHICK3,colorFF0000;
DRAWTEXT((VARE8 > 90),30,'追击'),colorFFFF;
PARTLINE(1,80),colorAA;
PARTLINE(1,20),colorAA00;
RED:=(((HIGH + LOW) + (CLOSE * 2)) / 4);
HYS:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
B:=EMA((((RED - HYS) / (VAR3 - HYS)) * 100),8);
B1:=EMA(B,5);
STICKLINE(((B > 0) AND ((B - B1) >= 0)),49,50,6,0),colorFF;
STICKLINE(((B > 0) AND ((B - B1) < 0)),49,50,6,0),colorFF00;
波段:EMA((((RED - HYS) / (VAR3 - HYS)) * 100),9),LINETHICK0,colorFF;
B1:=EMA(((0.667 * REF(波段,1)) + (0.333 * 波段)),2);
FILLRGN((波段 > B1),波段,B1),colorFF;
FILLRGN((波段 < B1),波段,B1),colorFF00;