获利卖出会卖出才是师父通达信公式 副图 源码附图
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;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
轴线:=(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,LINETHICK2,COLOR0078FF;
主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK2,COLORRED;
散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORYELLOW;
SUP1:=NOT(H=L);{股票指标网 WWW.}
SUP2:=(C-REF(C,1))/REF(C,1)*100<9.8;
YUWEI:=CROSS(散户,主力) AND 主力>200 AND SUP1 AND SUP2;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.5,0)COLOR08D306;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR40FF00;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
LC赋值:1日前的收盘价
RSI1赋值:SMA(收盘价-LC和0较大值,6,1)/SMA(收盘价-LC的绝对值,6,1)*100
AR赋值:26的最高价-开盘价日累和/26的开盘价-最低价日累和*100
VARB:=SMA(收盘价-LC和0较大值,7,1)/SMA(收盘价-LC的绝对值,7,1)*100
VARC:=SMA(收盘价-LC和0较大值,13,1)/SMA(收盘价-LC的绝对值,13,1)*100
VARD:=收盘价的有效数据周期数
轴线赋值:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30, 线宽为2,COLOR0078FF
主力赋值:EMA( (收盘价-MA(收盘价,7))/MA(收盘价,7)*480,2)*5, 线宽为2,画红色
散户赋值:EMA( (收盘价-MA(收盘价,11))/MA(收盘价,11)*480,7)*5, 线宽为2,画黄色
SUP1赋值:NOT(H=L)
{股票指标网 WWW.}
SUP2赋值:(C-1日前的C)/1日前的C*100<9.8
YUWEI赋值:散户上穿主力 AND 主力>200 AND SUP1 AND SUP2
STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,4,0)COLOR1B7411
STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,3,0)COLOR17A715
STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,1.5,0)COLOR08D306
STICKLINE(YUWEI>0 AND YUWEI>1日前的YUWEI,0,YUWEI,0.5,0)COLOR40FF00