TP logic candle size?
-
Hi all.
I'd like to test the following but I can't figure how to.
TP when current-trade-profit measure big as previous-candle-size.
SL when current-trade-loss measure big as previous-candle-size
-
Could you please give some more detail? I think this is what you mean:
- Open a trade now (conditions are irrelevant) and then set:
- Its TP as many pips away from open price as the previous candle is (in pips also).
- Its SL calculated the same way?
Am I missing something?
-
@l-andorrà thank you for you answer.
For example:
Previous candle body size is 10 pips.
After open trade the TP is set at 10 pips -
I have tried the following but doesn't give me the wanted result...

-
Try this:

-
@l-andorrà hi sorry do you mean ID -1 (as per future candle?
-
it means the last close candle : ID 1
-
Exactly. You can catch the value of the last closed candle (ID 1) as a way to calculate your TP and SL.
-
I am afraid doesn't work
-
Can you please share your project?