就是记录日内5,10均线或macd 的每次金叉,死叉,
并在每次金死叉的位置,标注是日内第几次.
variable:n=0,m=0;
if 金叉 then n:=n+1;
drawtext(金叉,high,numtostr(n,0));
if 死叉 then m:=n+1;
drawtext(死叉,low,numtostr(m,0));
variable:n=0,m=0;
if 金叉 then n:=n+1;
drawtext(金叉,high,numtostr(n,0));
if 死叉 then m:=n+1;
drawtext(死叉,low,numtostr(m,0));
你好,版主
这个不是日内的,,是可显k线的,
麻烦告知,,
日内或者制定周期内,,怎么写