its clear how to modify a stop in a trade and I know the sample from Josh.
But what I want to ask is how to modify a stoploss before an entry. Sounds strange. An example: Setstoploss is 9 Ticks. The marketconditions do change, the conditions in the stop should be different now once triggered the entry in a certain situation and the stop should be there eg 4 Ticks.
Is this possible to use with SetStoploss please? (I know it would work with different signal names from entryorder but this blows up the code)
When I change an entrylimitorder rerferring to certain conditions and I code in same bracket the new setstoploss(4 Ticks) will this work or is the setstoploss (9Ticks) used for the entry that has been coded at the beginning of the script (in onbarupdate).
Would this work so that I have "normal" setstoploss(9 Ticks) but in special situations with new entrylimitorder setstoploss(4 Ticks) or setstoploss (6 Ticks)?
And I know it would work with exitlongstop. But with exitlongstop we know - from support - that no OCO string is sent, therefore I want to use SetStopLoss.
Thank you
Tony
Comment