尾进明早出挣通达信公式 副图 源码 测试图
OBV:=MA(SUM(IF(C>REF(C,1),V,IF(C<REF(C,1),-V,0)),0)/25000,1);
QA:=EMA(OBV,12)-EMA(OBV,26);
QB:=QA-REF(QA,1);
QC:=EMA(QA,9);
QD:=QC-REF(QC,1);
QE:=2*(QA-QC);
STICKLINE(QE>0 AND QE>REF(QE,1),0,QE,0,-1),COLORLIRED;
STICKLINE(QE>0 AND QE<REF(QE,1),0,QE,0,-1),COLORLIGREEN;
STICKLINE(QE<0 AND QE<REF(QE,1),0,QE,0,-1),COLORLICYAN;
STICKLINE(QE<0 AND QE>REF(QE,1),0,QE,0,-1),COLORLIGRAY;
NOTEXTAAA:0,DOTLINE,COLORGRAY;
EA:=2*(QA-QC);
EB:=EA-REF(EA,1);
NOTEXTA1:IF(QB>0,QA,DRAWNULL);
NOTEXTA2:IF(QB<=0,QA,DRAWNULL);
NOTEXTA3:IF(QD>0,QC,DRAWNULL);
NOTEXTA4:IF(QD<=0,QC,DRAWNULL);
NOTEXTA5:IF(EB>0,EA,DRAWNULL);
NOTEXTA6:IF(EB<=0,EA,DRAWNULL);
KK:=QB>0;
DRAWICON(CROSS(KK>REF(KK,1),0.2),-0.36,1);
RT:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;
RE:=RT/2+24;
PE:=EMA(VOL,13);
PF:=EMA(AMOUNT,13);
PD:=(PF/PE)/100;
PC:=((C-PD)/PD)*100;
PA:=PC<0 AND V;
PB:=PA AND RT<RE;
CS:=PB>0 AND MA(C,5)>REF(MA(C,5),2) AND C>O;
STICKLINE(FILTER(CS=1,5),2.4,0,0.5,0),COLORGRAY;
短线变盘信号:QA,COLORWHITE,LINETHICK2;
短线上涨:NOTEXTA1,COLORRED,LINETHICK2;
短线下跌:NOTEXTA2,COLORGREEN,LINETHICK2;
趋势转向:EA,COLORLIGRAY;
逐渐走强:NOTEXTA5,COLORRED,LINETHICK1;
逐渐转弱:NOTEXTA6,COLORLICYAN,LINETHICK1;
长线变盘信号:QC,COLORYELLOW,LINETHICK2;
长线上涨:NOTEXTA3,COLORMAGENTA,LINETHICK2;
长线下跌:NOTEXTA4,COLORCYAN,LINETHICK2;
尾进明早出挣1%:CS,COLORGRAY,NODRAW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
OBV赋值:MA(SUM(IF(C>1日前的C,V,IF(C<1日前的C,-V,0)),0)/25000,1)
QA赋值:OBV的12日指数移动平均-OBV的26日指数移动平均
QB赋值:QA-1日前的QA
QC赋值:QA的9日指数移动平均
QD赋值:QC-1日前的QC
QE赋值:2*(QA-QC)
STICKLINE(QE>0 AND QE>1日前的QE,0,QE,0,-1),COLORLIRED
STICKLINE(QE>0 AND QE<1日前的QE,0,QE,0,-1),COLORLIGREEN
STICKLINE(QE<0 AND QE<1日前的QE,0,QE,0,-1),COLORLICYAN
STICKLINE(QE<0 AND QE>1日前的QE,0,QE,0,-1),COLORLIGRAY
输出NOTEXTAAA:0,DOTLINE,COLORGRAY
EA赋值:2*(QA-QC)
EB赋值:EA-1日前的EA
如果QB>0返回QA否则返回DRAWNULL
如果QB<=0返回QA否则返回DRAWNULL
如果QD>0返回QC否则返回DRAWNULL
如果QD<=0返回QC否则返回DRAWNULL
如果EB>0返回EA否则返回DRAWNULL
如果EB<=0返回EA否则返回DRAWNULL
KK赋值:QB>0
DRAWICON(CROSS(KK>1日前的KK,0.2),-0.36,1)
RT赋值:(C-10日内L最低值)/(10日内H最高值-10日内L最低值)*100
RE赋值:RT/2+24
PE赋值:成交量的13日指数移动平均
PF赋值:成交额的13日指数移动平均
PD赋值:(PF/PE)/100
PC赋值:((C-PD)/PD)*100
PA赋值:PC<0 AND V
PB赋值:PA AND RT
CS赋值:PB>0 AND C的5日简单移动平均>REF(C的5日简单移动平均,2) AND C>O
STICKLINE(CS=1的5过滤,2.4,0,0.5,0),COLORGRAY
输出短线变盘信号:QA,画白色, 线宽为2
输出短线上涨:NOTEXTA1,COLORRED, 线宽为2
输出短线下跌:NOTEXTA2,COLORGREEN, 线宽为2
输出趋势转向:EA,COLORLIGRAY
输出逐渐走强:NOTEXTA5,COLORRED,LINETHICK1
输出逐渐转弱:NOTEXTA6,COLORLICYAN,LINETHICK1
输出长线变盘信号:QC,画黄色, 线宽为2
输出长线上涨:NOTEXTA3,画洋红色, 线宽为2
输出长线下跌:NOTEXTA4,画青色, 线宽为2
输出尾进明早出挣1%:CS,COLORGRAY,NODRAW