HZ:HHV((H+L)/2,120);
AA:=(2*C+H+L)/4;
Var1:=IF(DATE=10301201,0,1);
Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
Var3:=EMA(CLOSE,3);
Var4:=(2*CLOSE+LOW+HIGH)/4*Var1;
Var5:=Var2-Var3;
VAR6:=CLOSE*VOL;
VAR7:=EMA((EMA(VAR6,3)/EMA(VOL,3)+EMA(VAR6,6)/EMA(VOL,6)+EMA(VAR6,12)/EMA(VOL,12)+EMA(VAR6,24)/EMA(VOL,24))/4,13);
VAR8:=EMA(CLOSE,9);
VAR9:=(CLOSE+OPEN)/2;
VAR11:=MA(CLOSE,3);
VAR12:=MA(CLOSE,2*3);
VAR13:=MA(CLOSE,3*3);
VAR14:=MA(CLOSE,4*3);
VAR15:=MA((VAR11+VAR12+VAR13+VAR14)/4,5);
上轨1:EMA(VAR8*1.14,5),COLORGREEN,LINETHICK1;
上轨2:=VAR15*1.08,COLORWHITE,LINETHICK1;
操作线:MA(AA,5),COLORMAGENTA,LINETHICK2;
风险线:=MA(CLOSE,13);
黄线:(EMA(VAR9,3)+EMA(VAR9,6)+EMA(VAR9,12)+EMA(VAR9,24))/4,COLORYELLOW,linethick3;
精品1:=EMA(EMA(EMA(CLOSE,2),2),2);
精品2:(MA(精品1,13) * 0.999),COLORWHITE,linethick2;
道2:=6*HHV(精品2,3)-5*精品2;
PARTLINE(精品2=道2,精品2),LINETHICK3,COLORRED;
PARTLINE(精品2<道2,精品2),LINETHICK3,COLORWHITE;
青线:EMA(Var4,45)*1.15,COLORCYAN,linethick2;
绿线:EMA(Var4,55),COLORGREEN,linethick3;
牛股:=CROSS((100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),99);
攻:=ref(c,ref(hhvbars(v,21),0));
进攻:=ma(close,1);
指挥:=V>1*ref(V,1) and (c/ref(C,1)-1)*100>9.5 and 进攻>=攻;
DK:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
组合:=牛股 and 指挥 and (CROSS(DK,5) or CROSS(DK,10));
基础0:=DK>ref(DK,1) and ref(DK,1)>ref(DK,2) and ref(DK,2)>ref(DK,3);
基础1:=绿线>ref(绿线,1) and ref(绿线,1)>ref(绿线,2) and ref(绿线,2)>ref(绿线,3);
基础2:=精品2>ref(精品2,1) and ref(精品2,1)>ref(精品2,2) and ref(精品2,2)>ref(精品2,3);
基础3:=黄线>ref(黄线,1) and ref(黄线,1)>ref(黄线,2) and ref(黄线,2)>ref(黄线,3);
基础4:=操作线>ref(操作线,1) and ref(操作线,1)>ref(操作线,2) and ref(操作线,2)>ref(操作线,3);
三角1:=基础0 and CROSS(DK,0);
三角2:=基础0 and CROSS(DK,5);
三角3:=基础0 and CROSS(DK,10);
买1:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(黄线,绿线);
买2:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(精品2,绿线);
买3:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(c,青线);
买4:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(黄线,青线);
DRAWICON(组合,l*0.99,1),ALIGN1;
DRAWTEXT(三角1,l*0.96,'▲'),ALIGN0,PXDN20,COLORWHITE;
DRAWTEXT(三角2,l*0.96,'▲'),ALIGN0,PXDN20,COLORMAGENTA;
DRAWTEXT(三角3,l*0.96,'▲'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买1 or 买2 or 买3 or 买4,h*1.07,'买'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买1,h*1.04,'1'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买2,h*1.04,'2'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买3,h*1.04,'3'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买4,h*1.04,'4'),ALIGN0,PXDN20,COLORYELLOW;
看牛骑牛(主图 源码 贴图)
{www.qill.cn买1、买2、买3、买4均为参考买点,其中买4就是所谓“妖股”参考买点,卖点自己摸索。一般精品线为红色时可持股。}
HZ:HHV((H+L)/2,120);
AA:=(2*C+H+L)/4;
Var1:=IF(DATE=10301201,0,1);
Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
Var3:=EMA(CLOSE,3);
Var4:=(2*CLOSE+LOW+HIGH)/4*Var1;
Var5:=Var2-Var3;
VAR6:=CLOSE*VOL;
VAR7:=EMA((EMA(VAR6,3)/EMA(VOL,3)+EMA(VAR6,6)/EMA(VOL,6)+EMA(VAR6,12)/EMA(VOL,12)+EMA(VAR6,24)/EMA(VOL,24))/4,13);
VAR8:=EMA(CLOSE,9);
VAR9:=(CLOSE+OPEN)/2;
VAR11:=MA(CLOSE,3);
VAR12:=MA(CLOSE,2*3);
VAR13:=MA(CLOSE,3*3);
VAR14:=MA(CLOSE,4*3);
VAR15:=MA((VAR11+VAR12+VAR13+VAR14)/4,5);
上轨1:EMA(VAR8*1.14,5),COLORGREEN,LINETHICK1;
上轨2:=VAR15*1.08,COLORWHITE,LINETHICK1;
操作线:MA(AA,5),COLORMAGENTA,LINETHICK2;
风险线:=MA(CLOSE,13);
黄线:(EMA(VAR9,3)+EMA(VAR9,6)+EMA(VAR9,12)+EMA(VAR9,24))/4,COLORYELLOW,linethick3;
精品1:=EMA(EMA(EMA(CLOSE,2),2),2);
精品2:(MA(精品1,13) * 0.999),COLORWHITE,linethick2;
道2:=6*HHV(精品2,3)-5*精品2;
PARTLINE(精品2=道2,精品2),LINETHICK3,COLORRED;
PARTLINE(精品2<道2,精品2),LINETHICK3,COLORWHITE;
青线:EMA(Var4,45)*1.15,COLORCYAN,linethick2;
绿线:EMA(Var4,55),COLORGREEN,linethick3;
牛股:=CROSS((100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),99);
攻:=ref(c,ref(hhvbars(v,21),0));
进攻:=ma(close,1);
指挥:=V>1*ref(V,1) and (c/ref(C,1)-1)*100>9.5 and 进攻>=攻;
DK:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
组合:=牛股 and 指挥 and (CROSS(DK,5) or CROSS(DK,10));
基础0:=DK>ref(DK,1) and ref(DK,1)>ref(DK,2) and ref(DK,2)>ref(DK,3);
基础1:=绿线>ref(绿线,1) and ref(绿线,1)>ref(绿线,2) and ref(绿线,2)>ref(绿线,3);
基础2:=精品2>ref(精品2,1) and ref(精品2,1)>ref(精品2,2) and ref(精品2,2)>ref(精品2,3);
基础3:=黄线>ref(黄线,1) and ref(黄线,1)>ref(黄线,2) and ref(黄线,2)>ref(黄线,3);
基础4:=操作线>ref(操作线,1) and ref(操作线,1)>ref(操作线,2) and ref(操作线,2)>ref(操作线,3);
三角1:=基础0 and CROSS(DK,0);
三角2:=基础0 and CROSS(DK,5);
三角3:=基础0 and CROSS(DK,10);
买1:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(黄线,绿线);
买2:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(精品2,绿线);
买3:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(c,青线);
买4:=基础1 and 基础2 and 基础3 and 基础4 and CROSS(黄线,青线);
DRAWICON(组合,l*0.99,1),ALIGN1;
DRAWTEXT(三角1,l*0.96,'▲'),ALIGN0,PXDN20,COLORWHITE;
DRAWTEXT(三角2,l*0.96,'▲'),ALIGN0,PXDN20,COLORMAGENTA;
DRAWTEXT(三角3,l*0.96,'▲'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买1 or 买2 or 买3 or 买4,h*1.07,'买'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买1,h*1.04,'1'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买2,h*1.04,'2'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买3,h*1.04,'3'),ALIGN0,PXDN20,COLORYELLOW;
DRAWTEXT(买4,h*1.04,'4'),ALIGN0,PXDN20,COLORYELLOW;
通用操盘(副图 源码 贴图)
说明:1、运用公式的目的无非是找出什么时候买,再判断什么时候卖。本公式就是为此目的而作的。但声明,没有绝对准确的公式。
2、本公式的核心是KDJ,变换了参数,得出不同的趋势线。同时借鉴其它公式增加两处信号。
3、为了所有股软通用,只使用了最简单的线条,没有其它修饰。
获利比:=MA(WINNER(CLOSE)*100,5);
获利均线:=SMA(获利比,3,1);
一天线:=MA(C,1);
快线:MA((3*SMA((C-LLV(L,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1)),2),COLORF00FF0;
操盘线:MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),3);
通用操盘线:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),COLORBLUE;
Var1:=(C*3+H+L+O)/6;
Var2:=SMA(MAX(C-Var1,0),8,1)/SMA(ABS(C-Var1),8,1)*100;
Var3:=100*(HHV(H,15)-C)/(HHV(H,13)-LLV(L,13))-45;
Var4:=BARSLAST(CROSS(C,MA(C,21)));
Var5:=BARSLAST(CROSS(MA(C,21),C));
Var6:=IF(Var4<Var5,Var4+1,0);
Var7:=(C-REF(C,Var6))/REF(C,Var6)*100;
买入关注:IF(通用操盘线<5,10,0),COLORGREEN;
卖出关注:IF(通用操盘线>80,90,100),COLORGREEN;
IF(COUNT(获利均线<2,10)>=9 AND CROSS(获利比,获利均线),20,0);
DRAWTEXT(CROSS(操盘线,通用操盘线)AND 通用操盘线<10,20,'买点'),COLORRED;
DRAWICON(CROSS(通用操盘线,操盘线)AND 通用操盘线>90,100,2);
DRAWTEXT(CROSS(90,操盘线),90,'跑吧');
DRAWICON(CROSS(Var2,Var3)AND 操盘线<20 AND 获利比>REF(获利比,1),3,1);
DRAWTEXT(CROSS(快线,0),10,'金叉');
DRAWTEXT(CROSS(100,快线) AND 操盘线>60 AND 一天线<REF(一天线,1),100,'死叉');
短线追涨:STICKLINE(REF(Var7,1)=0 AND Var7>0,0,20,6,0);
耶苏十字架(副图 源码 贴图)
大主力:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,LINETHICK1,;
上帝保佑:10, ,LINETHICK1,COLORRED;
耶苏指路: IF(CROSS(大主力,上帝保佑),20,10),,LINETHICK1,COLORYELLOW;
小心:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1 , COLORYELLOW;
赐我力量: IF(CROSS(小心,10),15,0),STICK ,COLORRED ,LINETHICK1;
{www.qill.cnDRAWTEXT(赐我力量,15,'低') , COLORRED ;};