炒股指标

显示 收起

通达信趋势买卖趋势指标公式

通达信趋势买卖趋势指标公式:

VAR1:=(C+H+O+L)/4;  
卖出:EMA(VAR1,20)*(1+80/900),COLORGREEN,LINETHICK2;  
买入:EMA(VAR1,32)*(1-100/900),COLORMAGENTA,LINETHICK2;  
MA1:=MA(VAR1,3);  
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),8,0),COLORGREEN;  
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),8,0),COLORGREEN;  
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,1,0),COLORGREEN;  
STICKLINE(卖出<LOW,OPEN,CLOSE,8,0),COLORGREEN;  
STICKLINE(卖出<LOW,HIGH,LOW,1,0),COLORGREEN;  
STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),8,0),COLORMAGENTA;  
STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),8,0),COLORMAGENTA;  
STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,1,0),COLORMAGENTA;  
STICKLINE(买入>HIGH,OPEN,CLOSE,8,0),COLORMAGENTA;  
STICKLINE(买入>HIGH,HIGH,LOW,1,0),COLORMAGENTA;  
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;  
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;  

通达信趋势买卖趋势指标公式实例图解:

通达信趋势买卖趋势指标公式