PriceMin = Param("Price Min",0.2,0.2000,100,1);

MyPriceFilter = C > PriceMin;

Then use this in with an AND statement in the buy - so:

Buy = C > MA(C,50) AND MyPriceFilter;

--- In [email protected], "jollypolly999" <jollypolly...@...> wrote:
>
> Hello again,
> 
> This is an exploration/indicator filter used for another formula but I don't 
> know how to engage it in AA backtesting mode. I pasted the code into my 
> formula but the backtest still picks up stock below the minimum. 
> 
> Hope someone knows. I wish to test stocks above 20 cents (minimum price).
> 
> 
> myMinPrice = Param("Price Min",1,0.2000,100,1);          // Filter for stocks 
> above certain price. default 0 (NOT filtered)
>


Reply via email to