Break even ?
-
is it possible to move the stoploss to break even when cci 14 cross up or below a level ?
-
yes, with 2 blocks

-
@roar what will be the settings here? for the pips on profit

-
@zackry It is to filter how far your trade is from the break even point.
If you set 0, the break even will always be set if your trade is on profit.
If you set 10, the SL will move to break even only if youre 10 (or more) pips on profit -
@roar thats exactly what i am confused about, cuz i dont want it to take the pips into consideration but it should break even the moment cci indicator cross above or below 0 level
-
@zackry ok, just set it to 0, so the amount of profit will not matter.
You can't set a breakeven on a losing trade
-
@roar

like this? -
@zackry Yes, that should work, now just test it with visual backtest

-
@roar and one more thing
this is me trying to calculate the stoploss based on atr

and this is me applying that stoploss

i am trying to make the stop loss 4x of the atr value
is it correct? -
@zackry yes, should work
-
@roar yup thats what i expected , but its not working
trades are closed instantly

and i think its because of the stoploss

-
@zackry Oh, I see. You are accidentally mixing up units here. ATR doesn't measure in pips, it is just a raw number, isnt't it?
So use stop loss mode "price fraction"
-
@roar like this?

-
@zackry yes, test it out
-
@roar nope still not working i am gonna try and convert the atr into pips and see what happens
-
@zackry you mind sharing the project, so I can have a look?
You can find the share button from upper left corner, under Projects menu
-
@roar yup here ya go
-
@roar its working now