yao33yao 发表于 2015-3-19 10:49

倍量过前高主图公式


久未发贴
手已生疏,
随手发一贴,再练练手




**** Hidden Message *****

gaoge 发表于 2015-7-24 16:03

A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); 分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK1; PMA:=分水岭; DD:=分水岭<REF(分水岭,1); IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK1; 操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK1; S:=(PMA>操作线); IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK1; PM:MA(C,5),COLORFFFFCC,LINETHICK1; IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK1; IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED; IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK1; DRAWTEXT(CROSS(分水岭,操作线),分水岭-0.1,'三底背离'); A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1)); B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA"); DRAWTEXT(B1>0,L-0.02,'M底背离'),COLOR00FFFF; A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1)); B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D"); DRAWTEXT(B2,L-0.10,'K底背离'),COLORFF00FF; A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2"); DRAWTEXT(B3>0,L-0.18,'R底背离'),COLOR0000FF; C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1)); D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF"); DRAWTEXT(D1>0,H+0.16,'M顶背离'),COLOR00FF00; C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1)); D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K"); DRAWTEXT(D2>0,H+0.08,'K顶背离'),COLORFFFFCC; C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1)); D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1"); DRAWTEXT(D3>0,H+0.04,'R顶背离'),COLORFF9900;

黑风老妖 发表于 2015-3-22 07:56

VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;

AA1:=REF(CLOSE,2)<REF(OPEN,2);
AA21:=REF(CLOSE,1)<REF(OPEN,1);
AA22:=REF(CLOSE,1)>REF(OPEN,1);
AA2:=AA21 OR AA22;
AA3:=REF(VOL,1)<REF(VOL,2);
AA4:=VOL>REF(VOL,2);
AA:=AA1 AND AA2 AND AA3 AND AA4;
BB1:=VOL/REF(VOL,1)>1.8;
BB2:=VOL/REF(VOL,1)<2.5;
BB:=BB1 AND BB2;
CC:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.02;
小倍阳:=AA AND BB AND CC;
DRAWTEXT(小倍阳,VOL*1.01,'↙小倍阳'),COLORYELLOW;
说明:小倍阳定义为放量1.8到2.5倍,当日上涨2个点以上,可经公式中据个人所好自行修改。

避风港123 发表于 2015-12-27 12:08

MAA5:MA(C,5),COLORFF00FF,LINETHICK2; MAA10:=MA(C,10); MAA30:MA(C,30),COLORRED; KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE; A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; A4:=SMA(A3,3,1); A5:=SMA(A4,3,1); A6:=3*A4-2*A5; A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6); 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW; STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;

最爱股票 发表于 2015-3-19 10:58

谢谢学长分享

最爱股票 发表于 2015-3-19 10:58

谢谢学长分享指导

股海之新秀 发表于 2015-3-19 11:01

学习学习再学习~~~~

g1h0g8 发表于 2015-3-19 11:03

谢谢LZ的分享

jzming3000 发表于 2015-3-19 11:04

谢谢学长分享

陈斌 发表于 2015-3-19 11:09

谢谢LZ的分

nochen0895 发表于 2015-3-19 11:24


谢谢学长分享

摩的大哥 发表于 2015-3-19 11:26

求贴求贴求贴求贴求贴求贴求贴求贴

lidalao 发表于 2015-3-19 11:30

谢谢楼主分享

jxfman35 发表于 2015-3-19 11:35

谢谢楼主分享!

海茵 发表于 2015-3-19 12:09

学习学习再学习真心学习

4724368bbkan 发表于 2015-3-19 12:16

看看与代码

绿野寻牛 发表于 2015-3-19 12:56

谢谢楼主分享!

股海之新秀 发表于 2015-3-19 15:07

学习学习再学习~~~~~~
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 倍量过前高主图公式