通达信综合解盘主图指标(源码)

2015-01-20 22:12:00来源:本站整理浏览:828

D12:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97
AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));
D13:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03
AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));
D14:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04
AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND
MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)
> MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));
D15:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04
AND CLOSE=OPEN AND
CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1)
,REF(OPEN,1))),1,0));
D16:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));
D17:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)
-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));
D18:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <
CLOSE/OPEN+0.018),1,0));
D19:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)
>REF(OPEN,1) AND CLOSE>OPEN
AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));
D20:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN
AND CLOSE/OPEN<0.98),1,0));
D21:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)
-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)
AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)
<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN
AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1)
AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))
<=1/100),1,0));
D22:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1)
AND CLOSE>OPEN),1,0));
D23:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<
EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30)
>1.2 AND C/REF(C,1)>1.049)),1,0));
D24:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)
<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1)
AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)
<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2)
AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF
(CLOSE,4)),1,0));
D25:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)
>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1)
AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)
<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF
(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND
CLOSE<REF(CLOSE,4)),1,0));
D26:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));
D27:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)
<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)
AND CLOSE<REF(CLOSE,1)),1,0));
D28:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));
D29:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));
D30:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)
-REF(OPEN,1))<0),1,0));
D31:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));
D32:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));
D33:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));
D34:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <
OPEN/CLOSE+0.018),1,0));
D35:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN
AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1)
AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))
/CLOSE<0.002)),1,0));
D36:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O
>REF(O,1) AND C<REF(O,1)),1,0));
D37:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));
D38:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));
D39:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));
D40:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));
D41:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF
((CLOSE <= J23),1,0)) > 1));
D42:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1)));
D43:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));
KS1:=IF(D1=1,0+0.03,0);
KS2:=IF(D2=1,KS1+0.03,KS1);
KS3:=IF(D3=1,KS2+0.03,KS2);
KS4:=IF(D4=1,KS3+0.03,KS3);
KS5:=IF(D5=1,KS4+0.03,KS4);
KS6:=IF(D6=1,KS5+0.03,KS5);
KS7:=IF(D7=1,KS6+0.03,KS6);
KS8:=IF(D8=1,KS7+0.03,KS7);
KS9:=IF(D9=1,KS8+0.03,KS8);
KS10:=IF(D10=1,KS9+0.03,KS9);
KS11:=IF(D11=1,KS10+0.03,KS10);
KS12:=IF(D12=1,KS11+0.03,KS11);
KS13:=IF(D13=1,KS12+0.03,KS12);
KS14:=IF(D14=1,KS13+0.03,KS13);
KS15:=IF(D15=1,KS14+0.03,KS14);
KS16:=IF(D16=1,KS15+0.03,KS15);
KS17:=IF(D17=1,KS16+0.03,KS16);
KS18:=IF(D18=1,KS17+0.03,KS17);

上一页  [1] [2] [3] [4] [5]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式