建仓补仓通达信股票指标 源码 贴图
VAR111:=(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));
建仓:IF((VAR111<= 3),1.5,0),COLOR00FF00,LINETHICK3;
补仓:IF((VAR111<5),2,0),COLORFFFFFF,LINETHICK3;
{股票指标网}
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100;
买点:SM07,COLORYELLOW,LINETHICK3;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR111赋值:(3)*(SMA(((收盘价 - 27日内最低价最低值)/(27日内最高价最高值 - 27日内最低价最低值))*(100),5,1)) - (2)*(SMA(SMA(((收盘价 - 27日内最低价最低值)/(27日内最高价最高值 - 27日内最低价最低值))*(100),5,1),3,1))
输出
建仓:IF((VAR111<= 3),1.5,0),COLOR00FF00, 线宽为3
输出
补仓:IF((VAR111<5),2,0),COLORFFFFFF, 线宽为3
{股票指标网}
SM01赋值:MA((2*C+H+L)/4,5)
SM02赋值:SM01*(200-102)/100
SM03赋值:(1-7/100)*DMA(C,(2*C+H+L的绝对值/4-MA(C,20))/MA(C,20))
SM04赋值:(C-9日内L最低值)/(9日内H最高值-9日内L最低值)*100
SM04的3日[1日权重]移动平均
SM06赋值:((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14))
SM07赋值:SM021日前的SM05&&1日前的SM05<2日前的SM05&&SM06<-100
输出
买点:SM07,画黄色, 线宽为3