同花顺蚂蚁发财公式源码副图
强: 90,colorcyan,LINETHICK3,POINTDOT;
界:50,COLORA8A8A8,POINTDOT,LINETHICK2;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR5:=LLV(LOW,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR9:=IF(VAR8>100,100,VAR8);
地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,'地量'),colorcyan;
STICKLINE(地量>0,0,30,1.5,0),COLOR00AAAA;
STICKLINE(地量>0,0,30,0.3,0),COLOR00FFFF;
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2));
主筹:WINNER(C)*100,LINETHICK0;
VAR11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
DRAWTEXT(VAR12 AND COUNT(VAR12,30)=1,40,'资金进场');
AA5:=SMA(AA4,13,8);
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
D:=SMA(K,3,1);
主线:EMA(J,6),coloryellow,LINETHICK2;
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWTEXT((ZIG(3,3)>REF(ZIG(3,3),1)) AND (REF(ZIG(3,3),1)<=REF(ZIG(3,3),2)) AND (REF(ZIG(3,3),2)<=REF(ZIG(3,3),3)),LOW*0.98,'出') ;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR7:=EMA(VAR6,5);
VAR8:=IF(VAR6<=-20,10,0);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DRAWTEXT(VAR8=10 AND FILTER(VAR8=10,5),LOW*0.93,'底');
//异动
VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(VAR1,C,O,3,0),colorcyan,LINETHICK2;
STICKLINE(VAR2,C,O,8,0),colormagenta,LINETHICK2;
STICKLINE(VAR2,H,L,1,0),colormagenta,LINETHICK2;
未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出强: 90,画青色, 线宽为3,POINTDOT
输出界:50,COLORA8A8A8,POINTDOT, 线宽为2
VAR3赋值:SMA(最低价-VAR2的绝对值,3,1)/SMA(最低价-VAR2和0较大值,3,1)*100
VAR5赋值:30日内最低价最低值
VAR7赋值:IF(收盘价的58日简单移动平均,1,0)
如果VAR8>100返回100否则返回VAR8
输出地量:DRAWTEXT(0.9上穿1/成交量*1000>0.01 AND "KDJ.J"<0,L*1,'地量'),画青色
当满足条件地量>0时,在0和30之间画柱状线
当满足条件地量>0时,在0和30之间画柱状线
主买赋值:IF(收盘价>开盘价,AA*(最高价-最低价),IF(收盘价<开盘价,AA*((最高价-开盘价)+(收盘价-最低价)),成交量 /2))
输出主筹:C计算的获利盘比例*100,LINETHICK0
VAR11赋值:100-3*SMA((开盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1)+2*SMA(SMA((开盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1),15,1)
DRAWTEXT(VAR12 AND 统计30日满足VAR12的天数=1,40,'资金进场')
AA4的13日[8日权重]移动平均
RSV赋值:(收盘价-30日内最低价最低值)/(30日内最高价最高值-30日内最低价最低值)*100
K的3日[1日权重]移动平均
输出主线:J的6日指数移动平均,画黄色, 线宽为2
VARR1赋值:SMA(收盘价-1日前的C和0较大值,6,1)/SMA(收盘价-1日前的C的绝对值,6,1)*100
DRAWTEXT((ZIG(3,3)>REF(ZIG(3,3),1)) AND (REF(ZIG(3,3),1)<=REF(ZIG(3,3),2)) AND (REF(ZIG(3,3),2)<=REF(ZIG(3,3),3)),最低价*0.98,'出')
VAR10赋值:IF(TROUGHBARS(3,16,1)=0 AND 最高价>最低价+0.04,4,0)
VAR3赋值:(收盘价-收盘价的6日简单移动平均)/收盘价的6日简单移动平均*100
VAR5赋值:(收盘价-收盘价的32日简单移动平均)/收盘价的32日简单移动平均*100
VAR7赋值:VAR6的5日指数移动平均
如果VAR6<=-20返回10否则返回0
VARA赋值:IF(VAR9 AND CROSS(收盘价的3日简单移动平均,收盘价的5日简单移动平均),20,0)
DRAWTEXT(VAR8=10 AND VAR8=10的5过滤,最低价*0.93,'底')
//异动
VAR2赋值:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)[当满足条件VAR1时,在C和O之间画柱状线]
当满足条件VAR2时,在C和O之间画柱状线
当满足条件VAR2时,在H和L之间画柱状线