同花顺GPF主图指标
-
相关简介:同花顺GPF主图指标 源码 线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3; 线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6; 线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3; 线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3; S
-
文章来源:股海网作者:股海网发布时间:2016-05-28浏览次数:
同花顺GPF主图指标
源码
线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3;
线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6;
线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3;
线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;
STICKLINE(线A1>线A4,线A1,线A4,0.1,1),ColorFF0080;
STICKLINE(线A1<线A4,线A1,线A4,0.1,1),COLOR00FF00;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0.1,0),colorred;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,4,1),colorred;
STICKLINE(C<O OR C<REF(C,1),H,L,0.1,0),colorFF0000;
STICKLINE(C<O OR C<REF(C,1),O,C,4,1),colorFF0000;
DRAWTEXT(CROSS(线A1,线A4),线A1,'买'),COLOR0000FF;
线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;
Q1:IF(线A1<线A3,线A3,线A1),colorred;
线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;
Q2:IF(线A2<线A3,线A3,线A2),colorred;
线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK2;
Q3:IF(线A1<线A3,线A3,线A3),colorred,linethick2;