大智慧队长MACD指标公式

2023-11-11 05:58发布

input:p(12,1,100),s(26,1,100),m(9,1,50),N(0,0,1);周:="MACD.MACD#WEEK";STICKLINE(周MACD>=0 AND DATATYPE=8,0,周MACD,11,0),Color000055;STICKLINE(周MACD<0 DATATYPE=8,0,周MACD,11,0),Color515100;DIFF:(EMA(CLOSE,P)>=REF(DIFF,1),RGB(200,0,200),DIFF0 and macd>=REF(macd,1),macd,0,4,0),Color0000F2;STICKLINE(macd>0 and macd=REF(macd,1),macd,0,4,1),Color008000;ES:=IF(N=0,REF(EMA(C,S),1),EMA(C,S));EP:=IF(N=0,REF(EMA(C,P),1),EMA(C,P));DI:=IF(N=0,REF(DIFF,1),DIFF);零度价:=((P+1)*(S-1)*ES-(S+1)*(P-1)*EP)/(2*(S
 解锁全文需 1  财富值,免费注册即送20财富值!