aa:=DATAPERIOD; n1:=if(aa=7,13,if(aa=6,5,if(aa=2,10,0)));//在不同周期均线参数取值:周线n1=13 ,日线n1=5 ,5分...
日线:EMA(CLOSE,8),Linethick2,CoLor00FFFF; 周线:EMA(CLOSE,13),Linethick2,CoLorFF00FF; 月线:WMA(CL...
MA5:MA(C,5),COLORFFFFFF,LINETHICK1; MA20:MA(C,20),COLORFF80FF,LINETHICK2; MA120:MA(C,120),...
VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); ...
空:=EMA(C,5); 均衡:=EMA(空,5); 中轨:=HHV(MA(H,13),13); VAR5Z:=FILTER(均衡>REF(均衡,1)AND 中轨<RE...
VAR1Z:=(HIGH+LOW+OPEN+2*CLOSE)/5; VAR2Z:=REF(VAR1Z,1); VAR3Z:=SMA(MAX(VAR1Z-VAR2Z,0),10,1)...
VARmacd1:=3; VARMacD3:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100)...
//月 半月 周 日 叠加 input:月(0,0,1),半月(0,0,1),周(0,0,1),日(0,0,1); Tbs:=POW(10,ABS(LOG(MINDIFF))); ...
IF(STRFIND(PERIODNAME,"分钟",1)>0) { 统计:"该指标只在日线、周线、月线、季线和年线周期下有效。"; ...
VARIABLE:K=1; VAR1:=SUM(vol,0); VAR2:=VAR1/CAPITAL; N:=FLOOR(VAR2); IF N=REF(N,1)+1 THEN B...