私募量化主图公式源码(私募主图指标源码)
本文目录一览:
主图指标公式源码如何添加
通达信,大智慧可以直接选择主图指标,同花顺不可以,但是可以修改系统默认的主图指标达到添加主图指标的目的
烦请前辈们改一改主图公式变选股公式
{合一}
VAR8:=EMA(CLOSE,9);
VAR9:=(CLOSE+OPEN)/2;
黄线:=(EMA(VAR9,3)+EMA(VAR9,6)+EMA(VAR9,12)+EMA(VAR9,24))/4,;
HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,;
黄牛线:=EMA(HH,90);
离合3:=黄牛线-((C-黄牛线)*C-黄牛线)/黄牛线,;
道2:=6*HHV(黄牛线,3)-5*黄牛线;
黄道:(黄牛线=道2);
股票主图源码怎么用 在大智慧中. 有主图源码.不知道怎么设置.
顺序点大智慧菜单上的:公式-公式管理-新建,然后在出来的编辑界面给公式取一个名字,如果是主图则选择点一下主图(墨认为副图),将你的源码粘帖到下面的编辑框,最后保存就OK了
找龙回头主图源码公式
公式指标来源于网络.不知道是不是私募量化主图公式源码你要私募量化主图公式源码的.
{龙回头--主图指标}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
强势线:MA(C,25)+MA(C,25)*20/100,LINETHICK2,COLORRED;
DM1:=C/REF(C,1)1.09 AND C=O;
DM2:=REF(C,4)REF(O,4) AND REF(C,4)/REF(C,5)0.96 AND REF(C,2)/REF(C,3)1.02 AND REF(C,1)/REF(C,2)1.02;
DM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))1.036
AND MAX(REF(C,3),REF(O,3))/MIN(REF(C,3),REF(O,3))1.036;
DXGM:=COUNT(REF(DM1,1),10) AND DM2 AND DM3;
AM1:=C/REF(C,1)1.09 AND C=O;
AM2:=REF(C,3)REF(O,3) AND REF(C,3)/REF(C,4)0.96 AND REF(C,2)/REF(C,3)1.02 AND REF(C,1)/REF(C,2)1.02;
AM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))1.036;
AXGM:=COUNT(REF(AM1,1),10) AND AM2 AND AM3;
BM1:=C/REF(C,1)1.09 AND C=O;
BM2:=REF(C,2)REF(O,2) AND REF(C,2)/REF(C,3)0.96;
BM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))1.05;
BXGM:=COUNT(REF(BM1,1),10) AND BM2 AND BM3;
CM1:=C/REF(C,1)1.09 AND C=O;
CM2:=REF(C,1)REF(O,1) AND REF(C,1)/REF(C,2)0.96;
CXGM:=COUNT(REF(CM1,1),10) AND CM2;
SGX:=MA(C,25)+MA(C,25)*20/100;
GYTJ1:=(BETWEEN(O/MA(C,10),1.02,0.99) OR BETWEEN(L/MA(C,10),1.04,0.99) OR (BETWEEN(L/SGX,1.01,0.995) AND SGX/MA(C,10)1.08))AND CMA(C,10)
AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)MA(C,10) AND MA(C,5)/MA(C,10)1.01 AND H/MAX(C,O)1.04
AND CMA(C,120)AND MA(C,20)MA(C,60) AND MA(C,20)MA(C,120) AND REF(L,1)/REF(MA(C,10),1)0.998;
GYTJ2:=REF(C,1)REF(MA(C,5),1) AND OMA(C,5) AND MA(C,10)MA(C,20) AND MA(C,20)MA(C,30);
ABXG:=(DXGM OR AXGM OR BXGM OR CXGM) AND GYTJ1 AND GYTJ2;
DRAWICON(ABXG,L*0.98,11);
DRAWTEXT(ABXG,L*0.94,'龙回头'),COLORWHITE;
SCMXG:=COUNT(ABXG,5) AND CROSS(MA(C,10),MA(C,5));
DRAWICON(SCMXG,L*0.98,9);
DRAWTEXT(SCMXG,L*0.94,'二次尾买'),COLORYELLOW;