大智慧春夏秋冬主图指标(源码)

2015-02-23 20:18:00来源:本站整理浏览:488

M9:=MA(CLOSE,9);
Y:=((HIGH + LOW) / 2);
AO:=(MA(Y,5) - MA(Y,34));
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
VAR22:=(((((3 * CLOSE) + LOW) + OPEN) + HIGH) / 6);
VAR33:=(((((((((((((((((((((20 * VAR22) + (19 * REF(VAR22,1))) + (18 * REF(VAR22,2))) + (17 * REF(VAR22,3))) + (16 * REF(VAR22,4))) + (15 * REF(VAR22,5))) + (14 * REF(VAR22,6))) + (13 * REF(VAR22,7))) + (12 * REF(VAR22,8))) + (11 * REF(VAR22,9))) + (10 * REF(VAR22,10))) + (9 * REF(VAR22,11))) + (8 * REF(VAR22,12))) + (7 * REF(VAR22,13))) + (6 * REF(VAR22,14))) + (5 * REF(VAR22,15))) + (4 * REF(VAR22,16))) + (3 * REF(VAR22,17))) + (2 * REF(VAR22,18))) + REF(VAR22,20)) / 210);
VAR44:=MA(VAR33,13);
VAR555:=EMA(MA(CLOSE,33),34);
VAR66:=((((MA(CLOSE,33) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
VAR7:=MA(VAR66,5);
VAR8:=MA(VAR66,10);
关注:STICKLINE(((COUNT(((VAR33 > (1.005 * VAR44)) AND (VAR33 <= REF(VAR33,1))),2) = 2) OR (COUNT((IF((VAR33 < VAR555),(VAR33 <= (1.015 * VAR44)),(VAR33 <= (1.005 * VAR44))) AND (VAR33 >= REF(VAR33,1))),2) = 2)),VAR33,VAR44,10,0),color008000;
买入:DRAWTEXT((REF(CROSS(VAR33,VAR44),2) AND (VAR33 > (1.005 * VAR44))),VAR44,"★"),color0000FF;
争夺:DRAWTEXT((CROSS(VAR66,VAR7) AND (VAR7 < VAR8)),(VAR33 * 0.99),"▲"),color0000FF;
DRAWTEXT((CROSS(VAR7,VAR66) AND (VAR7 > VAR8)),(VAR33 * 1.01),"?"),color0000FF;
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF((TDU3 < TUD3),REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));
JDU0:=(((REF(CLOSE,1) <= REF(UDGLINE,1)) AND (CLOSE > UDGLINE)) AND (TDU0 < TUD0));
JUD0:=(((REF(CLOSE,1) >= REF(UDGLINE,1)) AND (CLOSE < UDGLINE)) AND (TUD0 < TDU0));
JDU1:=(JDU0 AND (COUNT(JDU0,TDU0) = 1));
JUD1:=(JUD0 AND (COUNT(JUD0,TUD0) = 1));
JDU2:=(JDU1 AND (REF(BARSLAST(JUD1),1) < REF(BARSLAST(JDU1),1)));
DRAWTEXT(JDU2,(M9 * 0.95),"▲●▲"),color000001;
VAR122:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) * 100);
VAR14:=((OPEN > CLOSE) AND ((HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)) > (IF((OPEN < CLOSE),OPEN,CLOSE) - LOW)));
VARA:=(((REF(VAR122,1) > ABS((0 - 13))) AND (CLOSE < OPEN)) AND ((((REF(CLOSE,1) - CLOSE) / REF(CLOSE,1)) * 1000) > 20));
VARB:=FILTER((((REF(VAR122,1) > ABS((0 - 13))) AND VAR14) OR VARA),3);
DRAWTEXT(((VARB * VAR122) > 0),(1 * REF(CLOSE,1)),"?★?"),color000001;
VARE:=FILTER(((((REF((((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) * 100),1) < (0 - 13)) AND (CLOSE > OPEN)) AND ((OPEN - LOW) > (HIGH - CLOSE))) OR (((REF((((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) * 100),1) < (0 - 13)) AND (CLOSE > OPEN)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 1000) > 20))),3);
DRAWTEXT((VARE > 0),LOW,"←---★?"),color0000FF;
H0:=REF(CLOSE,1);
VAR51:=EMA((((((((2 * CLOSE) + HIGH) + LOW) / 4) - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),6);
VAR52:=EMA(((0.667 * REF(VAR51,1)) + (0.333 * VAR51)),4);
DRAWTEXT(IF((((((COUNT((CLOSE < REF(CLOSE,1)),8) / 8) > 0.3) AND COUNT((VAR51 > VAR52),3)) AND (REF(LOW,1) = LLV(LOW,120))) AND (CLOSE > OPEN)),1,0),LOW,"-->★●"),color0000FF;
VAR55:=EMA(EMA(EMA(CLOSE,8),13),62);
VAR56:=((REF(HIGH,1) + REF(LOW,1)) / 2);
VAR57:=(MA(CLOSE,20) + (2 * STD(CLOSE,20)));
DRAWICON(CROSS(VAR56,VAR57),(HIGH * 1.035),11);
DRAWTEXT(CROSS(VAR56,VAR57),(HIGH * 1.04),"------->★"),color00FFFF;
VAR58:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),7,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),7,1)) * 100);
LC:=FILTER(CROSS(79,VAR58),4);
DRAWICON(LC,(HIGH * 1.035),11);
DRAWTEXT(LC,(HIGH * 1.04),"------>★"),color00FFFF;
RSI:=EMA((((((((2 * CLOSE) + HIGH) + LOW) / 4) - VAR55) / (VAR56 - VAR55)) * 100),7);
VAR1:=EMA(((0.667 * REF(RSI,1)) + (0.333 * RSI)),5);
DRAWTEXT(IF((((((COUNT((CLOSE < REF(CLOSE,1)),8) / 8) > 0.6) AND (VOL >= (1.5 * MA(VOL,5)))) AND COUNT((RSI >= VAR1),3)) AND (REF(LOW,1) = LLV(LOW,120))),1,0),LOW,"★●");
DRAWTEXT(IF((((((((((COUNT((CLOSE < REF(CLOSE,1)),13) / 13) > 0.6) AND COUNT((RSI > VAR1),6)) AND (REF(LOW,5) = LLV(LOW,120))) AND REF((CLOSE >= OPEN),4)) AND REF((CLOSE > OPEN),3)) AND REF((CLOSE > OPEN),2)) AND REF((OPEN > CLOSE),1)) AND (OPEN > REF(CLOSE,1))),1,0),LOW,"●●"),colorFF0000;
B2:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));
DRAWTEXT(IF(((((CLOSE < B2) AND ((VOL / 240) > (MA(VOL,5) / 240))) AND (CLOSE > (REF(CLOSE,1) * 1.08))) AND (CLOSE < (MA(CLOSE,13) * 1.3))),1,0),LOW,"●★"),color0000FF;
DRAWICON(CROSS(MA(CLOSE,5),MA(CLOSE,30)),(LOW - (LOW * 0.01)),8);
DRAWTEXT((CROSS(MA(CLOSE,5),MA(CLOSE,30)) AND (CLOSE > MA(CLOSE,250))),(LOW - (LOW * 0.02)),"←---★ "),color0000FF;
DRAWTEXT(((CROSS(MA(CLOSE,5),MA(CLOSE,30)) AND (CLOSE >= MA(CLOSE,60))) AND (CLOSE <= MA(CLOSE,250))),(LOW - (LOW * 0.02)),"←---★★"),color0000FF;

[1] [2]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式