Information
Username: | serm25173 |
Member since: | 01 Sep 2023 |
Last login: | 08 May 2024 |
Status: | Active |
Activity
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 6 |
Forum Topics | 0 | 1 |
Jobs | 0 | 0 |
Last Algorithm Comments
I've made something similar. Opposite bet is great in the trendy market but it's bad in the ranging market. Same side bet is great in ranging market but it's bad in the trendy market. So I tried to use BB, Keltners band some some indicator to identify trend and switch in between Opposite and Same side bet. Still on progress.
I change the code on the losing trade. Make the bot totally randoms buy/sell. It helps reducing Max consecutive Losing trade a lot. It works great in the long rally bull/bear. (original bot Max consec = 12-14 times, Modified bot Max consec = 8-9 times) back test data from 1-Jan-23 to 15-Sep-23.
I will try another idea of placing opposite side of the previous losing trade and I will update later.
// If the position has a negative gross profit, execute another order with double the previous volume
else {
if (Symbol.Spread <= SpreadLimit) {
ExecuteOrder((int) position.VolumeInUnits * 2, GetRandomTradeType());
Could you improve it more? So the pip number and RR to be updated real time when we drag mouse to resize TP box or SL box height.
Thank you very very much. I've been searching for long time.
Thanks a lot for a great bot.
I tested the demo, and the Stop Loss (SL) was triggered every time. Pending orders were placed before the News time. However, upon examining the graph on a 1-tick timeframe, I noticed that the price jumped (gapped) around 7-8 seconds, moving against our intended order direction and triggering our SL. Could you please modify the code so that the bot can open orders 8-9 seconds after the News time?
It is somehow similar to “Zone Recovery Hedging Trading System”.