Setpercenttrailing Bugs

Questions about MultiCharts and user contributed studies.
allenlowe
Posts: 37
Joined: 29 Jun 2011
Has thanked: 2 times
Been thanked: 3 times

Setpercenttrailing Bugs

Postby allenlowe » 30 Aug 2012

Dear All,

I have tested 2 times with real IB account and got the same result. If you use "Assign initial position at broker" and assign a non zero initial position, the setpercenttrailing will assume the stop trailing price reach immediately and a market order with exercise immediately.

I think this is an bug since no other code in the signal is exercise yet. Also, my parameters for setpercenttrailing is constant variable and not calculated parameters. Therefore, unlikely a programming error.

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 557 times

Re: Setpercenttrailing Bugs

Postby Andrew MultiCharts » 30 Aug 2012

No trailing stop will work correctly with "assing market position at broker". This is expected behavior.


Return to “MultiCharts”