breakeven with offsett  [SOLVED]

Questions about MultiCharts and user contributed studies.
tradingest
Posts: 283
Joined: 05 Dec 2014
Location: Italy
Has thanked: 53 times
Been thanked: 3 times

breakeven with offsett

Postby tradingest » 18 Oct 2016

HI all,

how I can set the breakeven who offset (plus 3 tick for example) respect the entry level?

thanks,
tradingest

tradingest
Posts: 283
Joined: 05 Dec 2014
Location: Italy
Has thanked: 53 times
Been thanked: 3 times

Re: breakeven with offsett

Postby tradingest » 18 Oct 2016

somebody can you help me?

tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

Re: breakeven with offsett  [SOLVED]

Postby tony » 18 Oct 2016

So you want to have a stop set to 3 ticks above entry price for example after your paper profit in the trade reaches a certain level? For example if you are plus 6 ticks in the trade, at that point a stop would be placed at 3 ticks above your entry price?

One way I can think of doing this is to hold a variables value based on the moment position profit goes from say 5 ticks to 6 ticks. You'd need to use positionprofit and then a variable PP1 for example that references the prior positionprofit and when position profit = 6 ticks and PP1 = 5 ticks then var1 = 6 for example.

Then you have a conditional statement that says something like the following.

Code: Select all

IF MP > 0 // if you are long

AND var1 = 6 // the variable that holds a value

Then begin

sell next bar at entry price + (3 * tick size) stop;

End;


Return to “MultiCharts”