当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:MACD修改(同花顺公式 副图 源码 测试图)
软件名称:[B]MACD修改(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2021-09-14 00:13:11
软件简介:
MACD修改
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA);
FF:=MA(CLOSE,20)>MA(CLOSE,1);PARTLINE(MACD,FF,RGB(0,255,0),1,RGB(255,0,0)),LINETHICK2;
Zero : 0;
VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
VAR3:=(SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1)-50)/200;
VAR4:=(SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1)-50)/200;
主:VAR3*C/10;
散:VAR4*C/10;
LC := REF(CLOSE,1);
RSITOG:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
DRAWTEXT(CROSS(RSITOG,80),MACD,"8↑"),colorred;
DRAWTEXT(CROSS(80,RSITOG),MACD,"8↓"),colorgreen;
DRAWTEXT(CROSS(RSITOG,70),MACD,"7↑"),colorred;
DRAWTEXT(CROSS(70,RSITOG),MACD,"7↓"),colorgreen;
DRAWTEXT(CROSS(RSITOG,30),MACD,"3↑"),colorred;
DRAWTEXT(CROSS(30,RSITOG),MACD,"3↓"),colorgreen;
DRAWTEXT(((主-REF(主,1))<0)AND(主>0),主,'-'),colorgreen;
DRAWTEXT(((主-REF(主,1))>0)AND(主>0),主,'+'),colorred;
MA10:MA(C,10);
MA20:MA(C,20);
DRAWTEXT((C>MA20) AND (REF(C,1)<MA20),MACD,'▲'),colorred;
DRAWTEXT((REF(C,1)>MA10) AND (C<MA10) AND (C>MA20),MACD,'▼'),colorgreen;
DRAWTEXT(CROSS(主,0)AND(C>MA20) AND (REF(C,1)<MA20),0-主*2,'★'),coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-158067.html]MACD修改(同花顺公式 副图 源码 测试图)[/url]