飞狐一致性获利MACD指标公式

2023-03-06 07:02发布

input:cur2(120,1,5000),cur3(61,1.5000),day1(60,1,5000);cur1:SYSPARAM(1),linethick0;cur:cur2-cur3+1,linethick0; //cursor 光标BW:(HIGH-LOW)*10000/,linethick0;//市场促进n1:=day1;k:=day1/60;day2:=round(5*k);day3:=round(34*k);:=BARSCOUNT(C);V1:=(H+L)/2;{ _公式}m5:=IF(TS<6,SUM(V1,0)/TS,MA(v1,day2));m34:=IF(TS<35,SUM(V1,0)/TS,MA(v1,day3));diff:m5-m34,colorstick;DEA:IF(TS<6,SUM(DIFF,0)/TS,MA(DIFF,5));今日中间价:(h+l)/2,linethick0;昨日最低价:ref(l,1),linethick0;昨日:ref(h,1),linethick0;k:=(h-l)/3;a1:=h-k;b1:=l+k;if
 解锁全文需 1  财富值,免费注册即送20财富值!