2018通达信指标公式 趋势形有机会就进副图公式源码
2018通达信指标公式 趋势形有机会就进副图公式源码 南方财富网小编为您提供
VAR1:=180;
VAR2:=BARSLAST(CURRBARSCOUNT=VAR1);
VAR3:=CONST(IF(ISLASTBAR=1,HHV(HIGH,VAR2),0));
VAR4:=CONST(IF(ISLASTBAR=1,LLV(LOW,VAR2),0));
VAR5:=VAR3-VAR4;
VAR6:=IF(CURRBARSCOUNT<=VAR1/2,VAR3,DRAWNULL);
VAR7:=IF(CURRBARSCOUNT<=VAR1,VAR3,DRAWNULL);
VAR8:=IF(CURRBARSCOUNT<=VAR1,VAR4,DRAWNULL);
VAR9:=IF(CURRBARSCOUNT<=VAR1,VAR4+VAR5/2,DRAWNULL);
VAR10:=IF(CURRBARSCOUNT<=VAR1/2,VAR4,DRAWNULL);
VAR11:=IF(CURRBARSCOUNT<=VAR1/2,VAR3,DRAWNULL);
VAR12:=IF(CURRBARSCOUNT<=VAR1/2,VAR4+VAR5*0.191,DRAWNULL);
VAR13:=IF(CURRBARSCOUNT<=VAR1/2,VAR4+VAR5*0.382,DRAWNULL);
VAR14:=IF(CURRBARSCOUNT<=VAR1/2,VAR4+VAR5/2,DRAWNULL);
VAR15:=IF(CURRBARSCOUNT<=VAR1/2,VAR4+VAR5*0.618,DRAWNULL);
VAR16:=IF(CURRBARSCOUNT<=VAR1/2,VAR4+VAR5*0.809,DRAWNULL);
VAR17:=IF(CURRBARSCOUNT<=VAR1/2,(CLOSE/LLV(LOW,VAR2)-1)*100,DRAWNULL);
VAR18:=BARSLAST(LOW=VAR4);
VAR19:=IF(CURRBARSCOUNT<=VAR1/2,CONST(IF(ISLASTBAR=1,HHV(HIGH,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL);
VAR20:=IF(CURRBARSCOUNT<=VAR1/2,CONST(IF(ISLASTBAR=1,LLV(LOW,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL);
DRAWBAND(VAR12,RGB(38,38,38),VAR10,RGB(0,0,0));(股票知识网zhishi.southmoney.com)