达达趋势 副图源码
趋势线:(1.06*(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)-50)+50);
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13);
SD: EMA(SK,3);
买入: IF(CROSS(趋势线,8.5),60,19), , ;
卖出: IF(CROSS(87,趋势线),40,81), ,;
VAR5:=AMOUNT/VOL/100;
VAR6:=IF(VAR5>CLOSE*1.1,CLOSE,IF(VAR5<CLOSE*0.9,CLOSE,VAR5));
VAR7:=100*WINNER(VAR6);
VAR8:=MA(VAR7,8);
VAR9:=HHV(CLOSE,0)/VAR8;
VARA:=IF(VAR9>2.5,-10,VAR9);
VARB:=IF(VARA>1,-10,VARA);
底限: VARB, , ;
VARC:=VAR8/LLV(LOW,0);
VARD:=HHV(HIGH,0)/VAR8*8*10;
VARE:=IF(VARD>50,50,VARD);
VARF:=VARE;
VAR10:=HHV(HIGH,0)/VAR8*4.5*100;
VAR11:=IF(VAR10>100,103,VAR10);
DRAWTEXT( CROSS(87,趋势线),35,'逃'), , ;
DRAWTEXT( CROSS(趋势线,8.5),65,'买'), , ;
DRAWTEXT( CROSS(90,VAR8),86,'诱多'), , ;
DRAWTEXT( CROSS(VAR8,10),11,'吸筹'), , ;
DRAWTEXT( CROSS(VAR8,46),VAR8,'拉升'), ,;
VAR13:=IF(CROSS(SK,SD),23,19);
VAR14:=IF(CROSS(SD,SK),77,81);
卖出1: VAR14;
买进: VAR13;
- 上一篇:短线指标 KDJ3天% 副图源码 2014/10/19
- 下一篇:速战速决之抓板绝技 副图 2014/10/19