文华财经上的公式怎么转化成通达信上的?
主趋势线:EMA(EMA(C,10),10),COLORBLUE,LINETHICK3;B:=主趋势线<REF(主趋势线,1);IF(B-1,主趋势线,NULL),COL...
主趋势线:EMA(EMA(C,10),10),COLORBLUE,LINETHICK3;
B:=主趋势线<REF(主趋势线,1);
IF(B-1,主趋势线,NULL),COLORRED,LINETHICK3;
操盘线:EMA(EMA(C,5),5),COLORRED,LINETHICK2;
Y:=操盘线>REF(操盘线,1);
IF(Y-1,操盘线,NULL),COLORGREEN,LINETHICK2;
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE1(AA,H,L,0,0),COLORRED;
STICKLINE1(AA,O,C,3,1),COLORRED;
STICKLINE1(AA AND DD,O,C,3,0),COLORRED;
STICKLINE1(BB,H,L,0,0),COLORGREEN;
STICKLINE1(BB,O,C,3,1),COLORGREEN;
STICKLINE1(BB AND DD,O,C,3,0),COLORGREEN;
STICKLINE1(BB AND CC,H,L,0,1),COLORWHITE;
STICKLINE1(BB AND CC,O,C,3,1),COLORWHITE;
STICKLINE1(BB AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE1(AA AND CC1,H,L,0,0),COLORWHITE;
STICKLINE1(AA AND CC1,O,C,3,1),COLORWHITE;
STICKLINE1(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
AAA:=REFX1(HHV(C,90),9999);
//DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA,'智能分析:目前处于红色买区,上涨趋势良好,多单持有。'),COLORRED,LINETHICK4;
DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '红色K线做多,绿色K线做空,白色K线观望。 '),COLORYELLOW; 展开
B:=主趋势线<REF(主趋势线,1);
IF(B-1,主趋势线,NULL),COLORRED,LINETHICK3;
操盘线:EMA(EMA(C,5),5),COLORRED,LINETHICK2;
Y:=操盘线>REF(操盘线,1);
IF(Y-1,操盘线,NULL),COLORGREEN,LINETHICK2;
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE1(AA,H,L,0,0),COLORRED;
STICKLINE1(AA,O,C,3,1),COLORRED;
STICKLINE1(AA AND DD,O,C,3,0),COLORRED;
STICKLINE1(BB,H,L,0,0),COLORGREEN;
STICKLINE1(BB,O,C,3,1),COLORGREEN;
STICKLINE1(BB AND DD,O,C,3,0),COLORGREEN;
STICKLINE1(BB AND CC,H,L,0,1),COLORWHITE;
STICKLINE1(BB AND CC,O,C,3,1),COLORWHITE;
STICKLINE1(BB AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE1(AA AND CC1,H,L,0,0),COLORWHITE;
STICKLINE1(AA AND CC1,O,C,3,1),COLORWHITE;
STICKLINE1(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
AAA:=REFX1(HHV(C,90),9999);
//DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA,'智能分析:目前处于红色买区,上涨趋势良好,多单持有。'),COLORRED,LINETHICK4;
DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '红色K线做多,绿色K线做空,白色K线观望。 '),COLORYELLOW; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询