图片基金杠杆
SJ:=IFELSE(DATE+20000000<20990328,1,1);
MID:MA(CLOSE,20),COLORYELLOW,DASHDOTDOT;
TMP2:=STD(CLOSE,20),COLORYELLOW,DASHDOTDOT;
TOP:MID+2*TMP2,COLORYELLOW,DASHDOTDOT;
BOTTOM:MID-2*TMP2,COLORYELLOW,DASHDOTDOT;
不过,细心的“投资老友”可能会发现,节日路上的汽车数量确实多了,但品类也更多了。所以,“堵车”还是烦恼吗?这在股市里可能都会变成“钱途”,汽车股很可能就是小长假后的“钱途”所在。
//DRAWTEXT((HIGH-TOP)/MINPRICE>20,HIGH*1.001,'买开'),COLORRED,FONTSIZE16,VALIGN1;
//DRAWTEXT((BOTTOM-LOW)/MINPRICE>20,LOW*0.999,'卖开'),COLORGREEN,FONTSIZE16,VALIGN1;
MA20:MA(CLOSE,20)*SJ;
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
PARTLINE1((MA20>=XCLOSE),MA20),LINETHICK2,COLORGREEN;
PARTLINE1((MA20<XCLOSE),MA20),LINETHICK2,COLORRED;
MA60:MA(C,60)*SJ,LINETHICK2;
XCLOSE2:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
PARTLINE1((MA60>=XCLOSE2),MA60),LINETHICK3,COLORBLUE;
PARTLINE1((MA60<XCLOSE2),MA60),LINETHICK3,COLORMAGENTA;
距离60均线空间:C-MA60,NODRAW;
DRAWSL1(C>0 AND ISLASTBAR,MA60,0,10,2),COLORWHITE,DASHDOTDOT;
DRAWNUMBER1(C>0 AND ISLASTBAR AND MA60 >C,MA60*1.0016,距离60均线空间,2),COLORGREEN,VALIGN2,FONTSIZE22;
DRAWNUMBER1(C>0 AND ISLASTBAR AND MA60 <C,MA60*0.999,距离60均线空间,2),COLORRED,VALIGN0,FONTSIZE22;
STICKLINE1(C>0 AND ISLASTBAR,MA60,MA60,50,0),COLORWHITE,DASHDOTDOT;//右边线
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26))*4.1;
DEA:=EMA(DIFF,9);
DKB:MA60+DIFF;
DKA:MA60+DEA;
FILLRGN(DKB>DKA,DKB,DKA,RGB(81,18,2));
FILLRGN(DKB<DKA,DKB,DKA, COLOR007300);
DRAWKLINE1(H,O,L,C);
DRAWCOLORLINE(DKB>DKA,DKB,COLORRED,COLORGREEN);
DRAWCOLORLINE(DKB>DKA,DKA,COLORRED,COLORGREEN);
X:=PERIOD=1基金杠杆