Help with Strategy Code ?  [SOLVED]

Questions about MultiCharts and user contributed studies.
shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Help with Strategy Code ?

Postby shanemcdonald » 05 Oct 2014

I modified the Pivot Reversal signal to include a trigger long above mov avg and trigger short below mov avg.

The long one works but the short one does not and I cannot find the problem.

Can you guys look at the code and see if you see anything ?

The top code is the long one that works.



thanks for any input

shane
Last edited by shanemcdonald on 05 Oct 2014, edited 1 time in total.

javamarket
Posts: 55
Joined: 10 Jul 2014
Has thanked: 10 times
Been thanked: 18 times

Re: Help with Strategy Code ?

Postby javamarket » 05 Oct 2014

One thing to consider basis the code, the reserved word 'point' is not the same as a minimum tick (MinMove / PriceScale) which by your description may be what is intended.

shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Re: Help with Strategy Code ?  [SOLVED]

Postby shanemcdonald » 05 Oct 2014

I did find the problem. But it was not easy for me.
Perhaps quite easy for an experienced programmer like yourself.


thanks

best regards

Shane


Return to “MultiCharts”