- On candle close - checks the rule only on candle close. This is the final value of the technical instrument for the candle.
- On current price - checks the rule on every price tick. As this is a current state of the instrument it may or may not be confirmed on close of the candle. The Live charts show the changing value for the current candle. All other past values are the values of instrument on close of the candle. Backward looking of the indictors may seem as if the rule shouldn't have been fulfilled. However, during real time the instrument value actually fulfilled the rule.
Example: Strategy with only one rule "Buy when RSI is crossing 35 from bottom to top". The previous candle RSI is 30 and the price moves upwards making the current value of the RSI 36. The "validate on current price" mode will place a Buy order. The "validate on candle close" mode will wait the candle to close and then will check if the RSI is still above 35.
Trailing buy is 1% and the timer is set to 5 minutes.
All BUY rules are met and the current price of the pair is 100.
- Scenario 1:
While the timer is active the price starts to rise. It reaches 101 (1% rise from 100). The bot places the BUY order.
- Scenario 2:
While the timer is active, first the price starts to fall and goes to 95. Then it changes direction and starts to rise. It reaches 95.95 (1% rise from 95, percentage is calculated from the lowest point after fulfillment of the buy rules). The bot places the BUY order.
- Scenario 3:
While the timer is active, the price starts to fall. After the timer finishes the price is still below the 1% rise. The bot disregards the BUY signal. Then the bot starts over with check of the BUY rules.
The same principles apply to the sell rules as to the buy rules.
Additionally you can set a Trailing target. The bot will not place a SELL order when the Target is reached. Instead, when the target is reached the bot will place a trailing sell order (trailing target). The percent is the distance between the trailing sell order and the price. The trailing target will move and follow only a rising price at the set distance. It will stay in place if the price is falling. If the price reaches the trailing target on its way down, the bot will execute the sell order.
Target is 2%. Trailing target is 1%.
The BUY rules are met and the current price is 100.
Then the price rises to 102 (2% above 100, target is reached). The trailing target is activated and set initially at 100.98 (1% below 102).
- Scenario 1:
The price directly starts to fall. It reaches the trailing target at 100.98. The bot executes a sell order.
- Scenario 2:
First, the price continues to rise. The trailing target follows it at 1% below. Then at some point, the price changes direction and starts to fall. At this moment the trailing target is at 110 and holds this value while the price is falling. The price reaches 110. The bot executes a sell order.