Metastock indicators

 

Hi every body,

Appreciate if some body using Metastock in the analysis so that we can share the knowledge, as a start:-

{code 20}

pr:=Input("ZigZag reversal %",.01,100,5);

sell:=PeakBars(1,C,pr)=0;
buy:=TroughBars(1,C,pr)=0;

noticed that the signal of buy and sell will appear after a delay of the pr, that will let you loss the chance of entering and exit at the optimum time, so, if there is any body how can modify it or has another indicator which serve the same purpose to share it.

Thanks, jao

Reason: