以下是博易大师指标源码 龙腾天下 转换为通达信公式

龙腾天下

龙腾天下指标:

MA1:MA(CLOSE,15);
MA2:MA(CLOSE,7);
UPPER:MA1+2*STD(CLOSE,16),COLOR4080FF;
LOWER:MA1-2*STD(CLOSE,16),COLOR4080FF;
FILLRGN(MA2>MA1,MA2,MA1),COLOR00FFFF;
FILLRGN(MA2<MA1,MA2,MA1),COLORFF8000;
STICKLINE((CLOSE>OPEN) OR (CLOSE=OPEN AND CLOSE>REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)>REF(OPEN,1)),HIGH,LOW,1,0),COLORRED;
STICKLINE((CLOSE>OPEN) OR (CLOSE=OPEN AND CLOSE>REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)>REF(OPEN,1)),OPEN,CLOSE,5,0),COLORRED;
STICKLINE((CLOSE<OPEN) OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(OPEN,1)),OPEN,CLOSE,5,0),COLORCYAN;
STICKLINE((CLOSE<OPEN) OR (CLOSE=OPEN
AND CLOSE<REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(OPEN,1)),HIGH,OPEN,1,0),COLORCYAN;
STICKLINE((CLOSE<OPEN) OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(OPEN,1)),LOW,CLOSE,1,0),COLORCYAN;

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