以下是同花顺增仓线幅图公式

同花顺增仓线幅图公式

指标介绍:

 青线低位金叉黄线买入;
 青线高位死叉黄线卖出。
 该指标来自同花顺软件指标平台中

公式源码:

减仓线:70, POINTDOT,coloryellow;
增仓线:45, POINTDOT,colorf4e202;
var1:=LLV(LOW,P1);
var2:=HHV(HIGH,P1);
黄线上穿增: EMA((CLOSE-var1)/(var2-var1)*100,P2),coloryellow,LINETHICK1;
黄线下穿减: EMA(0.667*REF(黄线上穿增,1)+0.333*黄线上穿增,2),colorf4e202,LINETHICK1;
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),2));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),2);
CG:=IF(MA(CLOSE,17) DRAWTEXT(CROSS(黄线上穿增,黄线下穿减) AND 黄线上穿增<45 AND cg=fl AND cg=fs,25,增仓),COLOR00FF00;
DRAWTEXT(CROSS(黄线上穿增,var2) AND 黄线上穿增<45 AND cg=fl AND
cg=fs,27,●),COLORFFFFFF;
DRAWTEXT(CROSS(黄线下穿减,黄线上穿增) AND 黄线上穿增>70 AND cg=fl AND cg=fs,85,减仓),COLOR00FF00;
DRAWTEXT(CROSS(黄线下穿减,黄线上穿增) AND 黄线上穿增>70 AND cg=fl AND
cg=fs,82,●),COLOR00FF00;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。