收红KDJ金叉的选股
收红KDJ金叉的选股
【股票资源馆】策略投资破解,图片免费下载,理想股票技术论坛,财经股票论坛,炒股论坛社区,股票软件,股票公式,源码交流,指标公式,炒股书籍,分析家公式网,股旁网,股票配资。
编写条件:
编写方法:
网友求助:
请老师根据“短线”副图源码做一个预警选股公式,当出现蓝色向上的箭头时进行预警。谢谢老师!原码如下:
LONGGGG发财线:=38,COLORFF3311;
STICKLINE(C>0,38,38,1,1),COLORFF9911;
LONGGGG趋势线:=51,COLORFF1155;
STICKLINE(C>0,51,51,1,1),COLORFF1199;
OK:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI2:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI3:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
趋势C:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK2;
W1:MA(趋势A,7)*1.372,COLORRED,LINETHICK2;
W2:=W1*1.0887;
W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,COLOR3377FF,COLORRED,LINETHICK2,COLORFF0000;
W4:IF((CROSS(W1,趋势C) OR CROSS(W1,W3) AND W3<LONGGGG发财线 AND RSI2<LONGGGG趋势线),48,38),COLORFFFFFF;
XG:IF((CROSS(RSI2,RSI4) OR CROSS(RSI2,W3) AND W3<LONGGGG发财线 AND RSI1<LONGGGG趋势线),48,38),COLORFF6655;
LONGGGG发财线:=38,COLORFF3311;
STICKLINE(C>0,38,38,1,1),COLORFF9911;
LONGGGG趋势线:=51,COLORFF1155;
STICKLINE(C>0,51,51,1,1),COLORFF1199;
OK:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI2:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI3:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
趋势C:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK2;
W1:MA(趋势A,7)*1.372,COLORRED,LINETHICK2;
W2:=W1*1.0887;
W3:(1.5*(趋势B+RSI4)-(W2+W1))+12,COLOR3377FF,COLORRED,LINETHICK2,COLORFF0000;
W4:IF((CROSS(W1,趋势C) OR CROSS(W1,W3) AND W3<LONGGGG发财线 AND RSI2<LONGGGG趋势线),48,38),COLORFFFFFF;
XG:IF((CROSS(RSI2,RSI4) OR CROSS(RSI2,W3) AND W3<LONGGGG发财线 AND RSI1<LONGGGG趋势线),48,38),COLORFF6655;
解答如下:
lc:=ref(c,1);
rsi1:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*100;
rsi2:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*100;
rsi3:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*100;
rsi4:=sma(rsi3,7,1);
趋势a:=ma(((c-llv(l,48))/(hhv(h,48)-llv(l,48))*50),17)+9;
趋势b:=ma(((c-llv(l,53))/(hhv(h,53)-llv(l,53))*50),17)+9;
w1:=ma(趋势a,7)*1.372;
w2:=w1*1.0887;
w3:=(1.5*(趋势b+rsi4)-(w2+w1))+12;
cross(rsi2,rsi4) or cross(rsi2,w3) and w3<38 and rsi1<51;
rsi1:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*100;
rsi2:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*100;
rsi3:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*100;
rsi4:=sma(rsi3,7,1);
趋势a:=ma(((c-llv(l,48))/(hhv(h,48)-llv(l,48))*50),17)+9;
趋势b:=ma(((c-llv(l,53))/(hhv(h,53)-llv(l,53))*50),17)+9;
w1:=ma(趋势a,7)*1.372;
w2:=w1*1.0887;
w3:=(1.5*(趋势b+rsi4)-(w2+w1))+12;
cross(rsi2,rsi4) or cross(rsi2,w3) and w3<38 and rsi1<51;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】大智慧365破解版,股票,股票资源馆,股票网,股票软件,股票公式,股票书籍,炒股软件,股票知识,股票入门,炒股教程,股票公式指标、股票书籍下载网站。
写个早盘高开虑拟涨停的表达方法.
写个早盘高开虑拟涨停的表达方法.