PureBytes Links
Trading Reference Links
|
Many thanks to both Rik and foolsgold for their assistance with my
question.
Regards,
Tom
foolsgold wrote:
> Hello tom,
>
> t> How do I code this plot in the form of Value1 =
> t> Plot1[Displace1]( WAverage( Price, Length ), "Avg" ) ;
>
> Indicator 5 bar WAverage displaced back 1 bar
> input: Price(close), Length(5);
> Plot1(WAverage(Price,Length)[1],"Avg");
>
> System
> input: Price(close), Length(5);
> Value1=(WAverage(Price,Length)[1]);
> if value1 > value1[1] then buy next bar at market;
>
> best regards,
> foolsgold
|