通达信红柱预警抄底指标公式
2021/4/10 18:28:24
{使用说明:1.需配合120日均线主图作为趋势线,5日均线作为入场条件。2.当120日均线向下倾斜时,红柱预警"准备买"信号忽略。3.当120日均线走平,K线在120日均线上方时,发出"准备买"信号收线后,股价不再跌破信号前的局部低点为准,待5日均线向上倾斜时轻仓买入。
本文公式指标的选股公式如下:
红柱预警抄底之准备买选股指标公式
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
STICKLINE(FILTER(VAR6,10)=1,0,87,10,0),LINETHICK1,COLORRED;
DRAWTEXT(FILTER(VAR6,10),87,'准备买'),LINETHICK1,COLORRED;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,88,100,10,0),LINETHICK6,COLORGREEN;
DRAWTEXT(FILTER(VAR7,5),88,'到顶'),LINETHICK1,COLORMAGENTA;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,94,100,10,0);90;0,LINETHICK2,COLORYELLOW;
DRAWTEXT(FILTER(VAR8,94),94,'峰1'),LINETHICK1,COLORYELLOW;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖:=CROSS(85,RSI1)*30,COLORBLUE,LINETHICK2;
STICKLINE(卖,0,60,3,0),LINETHICK2,COLORGREEN;
DRAWTEXT(CROSS(85,RSI1),65,'卖'),LINETHICK1,COLORGREEN;
看股吧 公式 www.kanguba .com
其它股票公式列表