请老师帮把通达信红绿均线指标改为文华财经可用。谢谢 5
公式如下:MA12:MA(C,12);MA144:MA(C,144),NODRAW;UP:=MA144>REF(MA144,1);DOWN:=MA144<REF(MA14...
公式如下:
MA12:MA(C,12);MA144:MA(C,144),NODRAW;UP:=MA144>REF(MA144,1);DOWN:=MA144<REF(MA144,1);STICKLINE(UP,MA144+0.3,MA144,1,1),COLORLIRED;STICKLINE(DOWN,MA144+0.3,MA144,1,1)COLORLICYAN;XX:=UP AND MA12>MA144;YY:=DOWN AND MA12<MA144;STICKLINE(XX,MA144+0.3,MA144,1,0),COLORRED;STICKLINE(YY,MA144+0.3,MA144,1,0),COLORGREEN;
STICKLINE(XX AND MA12>REF(MA12,1),MA12+2,MA12,1,0),COLORMAGENTA;STICKLINE(YY AND MA12<REF(MA12,1),MA12+2,MA12,1,0),COLORBLUE;
DRAWICON(CROSS(MA12,MA144),MA12-3,1);DRAWICON(CROSS(MA12,MA144),MA12-8,15);DRAWICON(CROSS(MA144,MA12),MA12+3,2);DRAWICON(CROSS(MA144,MA12),MA12+8,15);
DRAWICON( UP AND REF(DOWN,1),MA144-12,26);DRAWICON( DOWN AND REF(UP,1),MA144+12,27);
DRAWTEXT_FIX(1>0,0.5,0,0,'M144线上做多,线下做空。注意M12的浪形,本方法一般吃的是3/C浪。'),COLORRED; 展开
MA12:MA(C,12);MA144:MA(C,144),NODRAW;UP:=MA144>REF(MA144,1);DOWN:=MA144<REF(MA144,1);STICKLINE(UP,MA144+0.3,MA144,1,1),COLORLIRED;STICKLINE(DOWN,MA144+0.3,MA144,1,1)COLORLICYAN;XX:=UP AND MA12>MA144;YY:=DOWN AND MA12<MA144;STICKLINE(XX,MA144+0.3,MA144,1,0),COLORRED;STICKLINE(YY,MA144+0.3,MA144,1,0),COLORGREEN;
STICKLINE(XX AND MA12>REF(MA12,1),MA12+2,MA12,1,0),COLORMAGENTA;STICKLINE(YY AND MA12<REF(MA12,1),MA12+2,MA12,1,0),COLORBLUE;
DRAWICON(CROSS(MA12,MA144),MA12-3,1);DRAWICON(CROSS(MA12,MA144),MA12-8,15);DRAWICON(CROSS(MA144,MA12),MA12+3,2);DRAWICON(CROSS(MA144,MA12),MA12+8,15);
DRAWICON( UP AND REF(DOWN,1),MA144-12,26);DRAWICON( DOWN AND REF(UP,1),MA144+12,27);
DRAWTEXT_FIX(1>0,0.5,0,0,'M144线上做多,线下做空。注意M12的浪形,本方法一般吃的是3/C浪。'),COLORRED; 展开
1个回答
展开全部
MA12:MA(C,12);
MA144:MA(C,144),NODRAW;
UP:=MA144>REF(MA144,1);
DOWN:=MA144<REF(MA144,1);
STICKLINE(UP,MA144+0.3,MA144,COLORMAGENTA,1);
STICKLINE(DOWN,MA144+0.3,MA144,COLORLIGHTBLUE,1);
XX:=UP AND MA12>MA144;
YY:=DOWN AND MA12<MA144;
STICKLINE(XX,MA144+0.3,MA144,COLORRED,0);
STICKLINE(YY,MA144+0.3,MA144,COLORGREEN,0);
STICKLINE(XX AND MA12>REF(MA12,1),MA12+2,MA12,COLORMAGENTA,0);
STICKLINE(YY AND MA12<REF(MA12,1),MA12+2,MA12,COLORBLUE,0);
DRAWICON(CROSS(MA12,MA144),MA12-3,'ICO4');
DRAWICON(CROSS(MA12,MA144),MA12-8,'ICO13');
DRAWICON(CROSS(MA144,MA12),MA12+3,'ICO5');
DRAWICON(CROSS(MA144,MA12),MA12+8,'ICO13');
DRAWICON( UP AND REF(DOWN,1),MA144-12,'ICO1');
DRAWICON( DOWN AND REF(UP,1),MA144+12,'ICO2');
MA144:MA(C,144),NODRAW;
UP:=MA144>REF(MA144,1);
DOWN:=MA144<REF(MA144,1);
STICKLINE(UP,MA144+0.3,MA144,COLORMAGENTA,1);
STICKLINE(DOWN,MA144+0.3,MA144,COLORLIGHTBLUE,1);
XX:=UP AND MA12>MA144;
YY:=DOWN AND MA12<MA144;
STICKLINE(XX,MA144+0.3,MA144,COLORRED,0);
STICKLINE(YY,MA144+0.3,MA144,COLORGREEN,0);
STICKLINE(XX AND MA12>REF(MA12,1),MA12+2,MA12,COLORMAGENTA,0);
STICKLINE(YY AND MA12<REF(MA12,1),MA12+2,MA12,COLORBLUE,0);
DRAWICON(CROSS(MA12,MA144),MA12-3,'ICO4');
DRAWICON(CROSS(MA12,MA144),MA12-8,'ICO13');
DRAWICON(CROSS(MA144,MA12),MA12+3,'ICO5');
DRAWICON(CROSS(MA144,MA12),MA12+8,'ICO13');
DRAWICON( UP AND REF(DOWN,1),MA144-12,'ICO1');
DRAWICON( DOWN AND REF(UP,1),MA144+12,'ICO2');
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询