通达信财神送宝主图源码狙击埋伏龙头
使用方法自己研究,不提供技术支持。软件选股风险自担。
VARQ0:=1.04;
MA10:MA(CLOSE,10),COLORYELLOW;
MA30:=MA(CLOSE,30),COLORMAGENTA;
MA120:MA(CLOSE,120),COLORAAAAAA;
天龙看盘:(COST(99)+COST(93)+COST(85))/3,LINETHICK1;
VARQ6:=MA(CLOSE,34);
DRAWBAND(MA10,RGB(180,50,0),MA20,RGB(0,50,100));
NOTEXTMA120:MA120,COLORAAAAAA;
STICKLINE(CLOSE > 1.097 * REF(CLOSE,1),CLOSE,OPEN,2.8,0),COLORRED;
VARQ15:=OPEN < VARQ5 AND CLOSE > VARQ5;
VARQ17:=OPEN < VARQ7 AND CLOSE > VARQ7;
VARQ19:=VOL > HHV(HIGH,10);
VARQ21:=VARQ15 AND VARQ16 AND VARQ17 AND VARQ18 AND VARQ19 AND VARQ20;
DRAWICON(VARQ21,LOW - LOW * 0.1,7);
VARQ25:=FILTER(VARQ24,25 - BARSLAST(VARQ21 > 0));
VARQ27:=(OPEN + CLOSE) / 2;
VARQ29:=CLOSE = HHV(CLOSE,13);
平台高点:REF(CLOSE,VARQ30),NODRAW,COLOR8800FF;
VARQ33:=CLOSE = LLV(CLOSE,13);
平台低点:REF(CLOSE,VARQ34),NODRAW,COLORFF8800;
VARQ37:=IF(CLOSE / REF(CLOSE,1) >= 1.099,1,0);
STICKLINE(VARQ37 > 0,OPEN,CLOSE,3,0),COLOR0022CC;
STICKLINE(VARQ37 > 0,OPEN,CLOSE,1,0),COLOR4444FF;
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
A1:=MA5>L AND MA5<O;
A3:=MA120>L AND MA120<O;
昨日涨幅:=(REF(C,1)/REF(C,(2)))<1.09;
DRAWTEXT(主升浪,(LOW * 0.97),'←主升浪'),COLORRED;
DRAWTEXT(均线金叉,(LOW * 0.97),'←均线金叉'),COLOR00FFFF;
DRAWTEXT(击穿均线,(LOW * 0.97),'←击穿均线'),COLORRED;
DRAWTEXT(海底捞月,(LOW * 0.93),'←海底捞月'),COLORBROWN;
DRAWTEXT(鱼跃龙门,(LOW * 0.97),'←鱼跃龙门'),COLORMAGENTA;
DRAWTEXT(突破半年线,(LOW * 0.97),'←突破半年线'),COLORRED;
C>MA5 AND C>MA20 AND C>MA30 AND C>MA60 AND ZT AND 昨日涨幅,COLORLIRED;
旱地拔葱:=ZT AND MA120>MA5 AND MA5>MA60 AND OPEN>MA120 AND CLOSE>MA120 AND 昨日涨幅;
超跌反攻:=ZT AND C> MA5 AND MA120/MA5>1.15 AND 昨日涨幅,COLORLIMAGENTA;
反转:=ZT AND REF(MA5,1)/REF(C,1)>1 AND C/MA5>1 AND 昨日涨幅,COLORBLUE;
BB:=O/REF(C,1)>1.099 AND H=O AND L<O ;
打开一字:=AA AND BB AND CC;
A6:=CROSS(C,REF(A5,1));
CDT:=MA30>MA60 AND MA60>MA120 AND MA120>MA250;
T1:=MA30>MA5 AND MA30>MA10 AND MA60>MA5 AND MA60>MA10;
T3:=MA120>MA60 AND MA120>MA30 AND MA120>MA10 AND MA120>MA5;
TP1:=T1 AND T2 AND PC AND C>MA250 AND C>MA120;
TP3:=T3 AND CROSS(C,MA120) AND PC OR T4 AND CROSS(C,MA250) AND PC;
ZF:=C>O AND C/REF(C,1)>=1.05;
短线起爆:=TP1 AND ZF OR TP2 AND ZF OR TP3 AND ZF OR TP5 AND CDT;
跳空高开:=ZT AND OPEN>MA5 AND LOW/REF(CLOSE,1)>1 AND OPEN/REF(CLOSE,1)>1 AND O<C AND 昨日涨幅;
{DRAWGBK(跳空高开,RGB(0,0,0),RGB(0,0,0),0,'AS6',0);}
DEA:=EMA(DIFF,5);
X1:=EMA(DIFF,5)*5;
A7:=CROSS(X2,X1) AND X1>=0;
{DRAWTEXT(A7,(LOW * 0.90),'←回调买'),COLORYELLOW;}
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,2.8,0),COLOR007700;
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
未来函数检测结果如下:
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
使用方法自己研究,不提供技术支持。软件选股风险自担。
VARQ0赋值:1.04
输出MA10:收盘价的10日简单移动平均,画黄色
MA30赋值:收盘价的30日简单移动平均,画洋红色
输出MA120:收盘价的120日简单移动平均,COLORAAAAAA
输出天龙看盘:(获利盘为99%的成本分布+COST(93)+COST(85))/3,LINETHICK1
VARQ6赋值:收盘价的34日简单移动平均
DRAWBAND(MA10,RGB(180,50,0),MA20,RGB(0,50,100))
NOTEXT输出MA120:MA120,COLORAAAAAA
STICKLINE(收盘价 > 1.097 * 1日前的收盘价,收盘价,开盘价,2.8,0),画红色
VARQ15赋值:开盘价 < VARQ5 AND 收盘价 > VARQ5
VARQ17赋值:开盘价 < VARQ7 AND 收盘价 > VARQ7
VARQ19赋值:成交量 > 10日内最高价最高值
VARQ21赋值:VARQ15 AND VARQ16 AND VARQ17 AND VARQ18 AND VARQ19 AND VARQ20
当满足条件VARQ21时,在最低价 - 最低价 * 0.1和7之间画图标
VARQ25赋值:FILTER(VARQ24,25 - 上次VARQ21 > 0距今天数)
VARQ27赋值:(开盘价 + 收盘价) / 2
VARQ29赋值:收盘价 = 13日内收盘价最高值
输出平台高点:VARQ30日前的收盘价,NODRAW,COLOR8800FF
VARQ33赋值:收盘价 = 13日内收盘价最低值
输出平台低点:VARQ34日前的收盘价,NODRAW,COLORFF8800
VARQ37赋值:IF(收盘价 / 1日前的收盘价 >= 1.099,1,0)
当满足条件VARQ37 > 0时,在开盘价和收盘价之间画柱状线
当满足条件VARQ37 > 0时,在开盘价和收盘价之间画柱状线
当满足条件涨停时,在开盘价和收盘价之间画柱状线
A1赋值:MA5>L AND MA5
A3赋值:MA120>L AND MA120
昨日涨幅赋值:(1日前的C/REF(C,(2)))<1.09
DRAWTEXT(主升浪,(最低价 * 0.97),'←主升浪'),画红色
DRAWTEXT(均线金叉,(最低价 * 0.97),'←均线金叉'),COLOR00FFFF
DRAWTEXT(击穿均线,(最低价 * 0.97),'←击穿均线'),画红色
DRAWTEXT(海底捞月,(最低价 * 0.93),'←海底捞月'),COLORBROWN
DRAWTEXT(鱼跃龙门,(最低价 * 0.97),'←鱼跃龙门'),画洋红色
DRAWTEXT(突破半年线,(最低价 * 0.97),'←突破半年线'),画红色
C>MA5 AND C>MA20 AND C>MA30 AND C>MA60 AND ZT AND 昨日涨幅,COLORLIRED
旱地拔葱赋值:ZT AND MA120>MA5 AND MA5>MA60 AND 开盘价>MA120 AND 收盘价>MA120 AND 昨日涨幅
超跌反攻赋值:ZT AND C> MA5 AND MA120/MA5>1.15 AND 昨日涨幅,COLORLIMAGENTA
反转赋值:ZT AND 1日前的MA5/1日前的C>1 AND C/MA5>1 AND 昨日涨幅, 画蓝色
BB赋值:O/1日前的C>1.099 AND H=O AND L
打开一字赋值:AA AND BB AND CC
A6赋值:CROSS(C,1日前的A5)
CDT赋值:MA30>MA60 AND MA60>MA120 AND MA120>MA250
T1赋值:MA30>MA5 AND MA30>MA10 AND MA60>MA5 AND MA60>MA10
T3赋值:MA120>MA60 AND MA120>MA30 AND MA120>MA10 AND MA120>MA5
TP1赋值:T1 AND T2 AND PC AND C>MA250 AND C>MA120
TP3赋值:T3 AND C上穿MA120 AND PC OR T4 AND C上穿MA250 AND PC
ZF赋值:C>O AND C/1日前的C>=1.05
短线起爆赋值:TP1 AND ZF OR TP2 AND ZF OR TP3 AND ZF OR TP5 AND CDT
跳空高开赋值:ZT AND 开盘价>MA5 AND 最低价/1日前的收盘价>1 AND 开盘价/1日前的收盘价>1 AND O
{ 填充背景(跳空高开,RGB(0,0,0),RGB(0,0,0),0,'AS6',0)
}
DEA赋值:DIFF的5日指数移动平均
X1赋值:DIFF的5日指数移动平均*5
A7赋值:X2上穿X1 AND X1>=0
{DRAWTEXT(A7,(最低价 * 0.90),'←回调买'),画黄色
}
STICKLINE((1日前的C-C)*100/1日前的C>=(10-0.01*100/1日前的C),开盘价,收盘价,2.8,0),COLOR007700
RSI赋值:SMA(收盘价-LC和0较大值,6,1)/SMA(收盘价-LC的绝对值,6,1)*100