图片股票资本分配几倍杠杆最好
T1:=IF(DATE1<20990701,1,1);
ZZ:=450;
SHORT:=12;
LONG:=26;
M:=9;
DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA := EMA(DIFF,M);
MACD := 2*(DIFF-DEA), COLORSTICK;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
MA60:=MA(C,60);
D1:=CROSS(C>MA60 AND MACD>0 AND MA10>MA60 AND C>MA10,0.5);
D2:=BARSLAST(D1);
K1:=CROSS(C<MA30 AND MACD<0,0.5);
K2:=BARSLAST(K1);
K3:=CROSS(C<MA60 AND MACD<0 AND MA10<MA60 AND C<MA10,0.5);
K4:=BARSLAST(K3);
D3:=CROSS(C>MA30 AND MACD>0,0.5);
D4:=BARSLAST(D3);
DRAWTEXT(CROSS(D2<K4,0.5) AND T1,L,'多'),COLORYELLOW,ALIGN0;
DRAWTEXT(CROSS(C<MA5 AND (C-MA60)>=ZZ,0.5) AND COUNT(CROSS(C<MA5 AND ABS(C-MA60)>=ZZ,0.5),BARSLAST(CROSS(D2<K4,0.5)))=1 AND T1,H*1.005,'盈利分批离场'),COLORYELLOW,ALIGN0;
DRAWTEXT(CROSS(K4<D2,0.5) AND T1,H,'空'),COLORYELLOW,ALIGN0;
DRAWTEXT(CROSS(C>MA5 AND (MA60-C)>=ZZ,0.5) AND COUNT(CROSS(C>MA5 AND ABS(C-MA60)>=ZZ,0.5),BARSLAST(CROSS(D2>K4,0.5)))=1 AND T1,L*0.995,'盈利分批离场'),COLORYELLOW,ALIGN0;
STICKLINE1(D2<K4 AND T1,C,O,3,0),COLORRED;
STICKLINE1(D2<K4 AND T1,H,L,0,0),COLORRED;
STICKLINE1(D2>K4 AND T1,C,O,3,0),COLORCYAN;
STICKLINE1(D2>K4 AND T1,H,L,0,0),COLORCYAN;
Z1:=BACKSET(ISLASTBAR股票资本分配几倍杠杆最好,40);
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。