Enter Long when:
Current price is higher than previous candle's high
Enter Short when:
Current price is lower than previous candle's low
Exit:
a) Trailing Stop Loss
b) Signal in opposite direction
TF:
Higher the better. Daily works best.
This is really simple idea, though seems to be quite profitable. There are some major drawdowns, and periods when this system works better and other when it runs worse. I'm looking for an idea to filter out losing periods, or perhaps some MM rule. I already tried Grid orders, Stochastic and MA all with many different inputs. Despite my tries the original version still works best. Attached you have an EA which you need to compile before testing. Sorry for unprofessional code layout, but I don't consider myself professional programmer.
INPUTS:
TrailingSL = 200; // Trailing Stop Loss set by default to 200 pips (5digit broker)
BE = true; // Move Trailing Stop Loss to Break Even
DynamicLot = true; // Increases Lot value proportionally to increase of account balance
LOT = 0.01; // Disregard if DynamicLot = true; Set on whatever you want if false.
SL = 200; // I guess it's clear,
TP = 2000; // and this one too
Have fun and let me know what do you think.
Current price is higher than previous candle's high
Enter Short when:
Current price is lower than previous candle's low
Exit:
a) Trailing Stop Loss
b) Signal in opposite direction
TF:
Higher the better. Daily works best.
This is really simple idea, though seems to be quite profitable. There are some major drawdowns, and periods when this system works better and other when it runs worse. I'm looking for an idea to filter out losing periods, or perhaps some MM rule. I already tried Grid orders, Stochastic and MA all with many different inputs. Despite my tries the original version still works best. Attached you have an EA which you need to compile before testing. Sorry for unprofessional code layout, but I don't consider myself professional programmer.
INPUTS:
TrailingSL = 200; // Trailing Stop Loss set by default to 200 pips (5digit broker)
BE = true; // Move Trailing Stop Loss to Break Even
DynamicLot = true; // Increases Lot value proportionally to increase of account balance
LOT = 0.01; // Disregard if DynamicLot = true; Set on whatever you want if false.
SL = 200; // I guess it's clear,
TP = 2000; // and this one too
Have fun and let me know what do you think.
Attached File(s)
Candle Based.mq4
8 KB
|
3,187 downloads