龙听期货论坛's Archiver

龙听 发表于 2018-11-29 16:33

[文华指标]隐形缚龙索指标源码[文华财经公式]

相关标签: 文华财经程序化交易 、 文华程序化交易 、 文华程序化交易论模型 、 程序化交易编程 文华 、 文华程序化收盘价模型 、 文华程序化视频 、 文华程序化模型 、 文华程序化开盘价模型 、 文华财经博客指标公式 、

文华指标源码:

[code]
A1:EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3),COLORRED;
A2:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA( CLOSE,7))/3,3),COLORRED;
A3:EMA((EMA(CLOSE,5)+EMA(CLOSE,7)+EMA( CLOSE,9))/3,3),COLORRED;
A4:EMA((EMA(CLOSE,7)+EMA(CLOSE,9)+EMA( CLOSE,11))/3,3),COLORRED;
A5:EMA((EMA(CLOSE,9)+EMA(CLOSE,11)+EMA( CLOSE,13))/3,3),COLORRED;
A6:EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA( CLOSE,15))/3,3),COLORRED;
A7:EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA( CLOSE,17))/3,3),COLORRED;
A8:EMA((EMA(CLOSE,15)+EMA(CLOSE,17)+EMA( CLOSE,19))/3,3),COLORRED;
A9:EMA((EMA(CLOSE,17)+EMA(CLOSE,19)+EMA( CLOSE,21))/3,3),COLORYELLOW;
A10:EMA((EMA(CLOSE,19)+EMA(CLOSE,21)+EMA( CLOSE,23))/3,3),COLORYELLOW;
A11:EMA((EMA(CLOSE,21)+EMA(CLOSE,23)+EMA( CLOSE,25))/3,3),COLORYELLOW;
A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW;
B:=REF(A,1);
DRAWTEXT(A>B,(A+B)/2,'★');
DRAWTEXT(A<=B,(A+B)/2,'☆');
STICKLINE(A>B,A,B,COLORYELLOW,0);
STICKLINE(A<=B,A,B,COLORWHITE,1);
A15:A-(A1-A*0.997),COLORGREEN;
A16:A-(A2-A),COLORGREEN;
A17:A-(A3-A),COLORGREEN;
A18:A-(A4-A),COLORGREEN;
A19:A-(A5-A),COLORGREEN;
A20:A-(A6-A),COLORGREEN;
A21:A-(A7-A),COLORGREEN;
A22:A-(A8-A),COLORGREEN;
A23:A-(A9-A),COLORGREEN;
A24:A-(A10-A),COLORGREEN;
A25:A-(A11-A*0.997),COLORGREEN;
STICKLINE(OPEN>=CLOSE,OPEN,CLOSE,COLORBLUE,0 );
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,COLORMAGENTA,0 );
DRAWLINE(CLOSE>OPEN,OPEN,CLOSE>OPEN,LOW,COLORMAGENTA);
DRAWLINE(CLOSE>OPEN,CLOSE,CLOSE>OPEN,HIGH,COLORMAGENTA);
DRAWLINE(OPEN>=CLOSE,CLOSE,OPEN>=CLOSE,LOW,COLORBLUE);
DRAWLINE(OPEN>=CLOSE,OPEN,OPEN>=CLOSE,HIGH,COLORBLUE);

[/code]

页: [1]