Adaptive Martingale Manager (concept)
Hi, first thread but something has been troubling me for a while now...
I'm not too bad at coding for MT4 but this task is completely beyond my understanding of order management.
Maybe somebody could help either validate/negate this idea in the context of programming.
I don't need a lecture, i'm experienced and fully understand the risk involved in martingale-like positioning.
The idea is to have a GUI that we can use manually that calculates lot-size's automatically based on the current symbols floating loss.
First we set a target and when adding to losing positions the ea instantly calculates a lot-size that covers the current loss.
The ea would monitor open positions on a given pair and close all positions when the set target value has been reached.
-----------------------------------------
Example #1
EA settings:
Target = 10 pips.
Target value = $1.00
--------------------------
Ea calculates the lot-size should be 0.01
We use the ea to enter a sell position (0.01)
Price moves against us 30 pips
We're now floating a loss of $3.00
- We decided to take another sell position...
The ea calculates the current loss of 30 pips (or $3.00)
Adds the target value of 10 pips (or $1.00)
And decides the lot-size for the position is 0.04 lots
0.04 x 10 pips = $4.00
Profit = $1.00
* In the next example i'll express a similar using hedging...
Example #2
We use the ea to enter a sell position (0.01)
Price moves against us 30 pips
We're now floating a loss of $3.00
- We decided to take BUY position...
The ea calculates the current loss of 30 pips (or $3.00)
Adds the target value of 10 pips (or $1.00)
And decides the lot-size for the position is 0.04 lots
0.04 x 10 pips = $4.00
Profit = $1.00
-----------------------------------------
So basically, anytime we think the market is going to move 10 pips in either direction we can click buy or sell and have the ea execute a position that not only makes the set target but covers the current floating loss for that pair.
Basic GU options could be:
Buy to profit
Buy to break-even
Sell to profit
Sell to break-even
I hope I've explained this well enough for you to understand and to discuss this concept as i believe this tool would be invaluable to discretionary traders in certain conditions.
I'm providing the following image as a way to explain the concept in a clear manner, not as a strategy.
Thanks in advance...
Hi, first thread but something has been troubling me for a while now...
I'm not too bad at coding for MT4 but this task is completely beyond my understanding of order management.
Maybe somebody could help either validate/negate this idea in the context of programming.
I don't need a lecture, i'm experienced and fully understand the risk involved in martingale-like positioning.
The idea is to have a GUI that we can use manually that calculates lot-size's automatically based on the current symbols floating loss.
First we set a target and when adding to losing positions the ea instantly calculates a lot-size that covers the current loss.
The ea would monitor open positions on a given pair and close all positions when the set target value has been reached.
-----------------------------------------
Example #1
EA settings:
Target = 10 pips.
Target value = $1.00
--------------------------
Ea calculates the lot-size should be 0.01
We use the ea to enter a sell position (0.01)
Price moves against us 30 pips
We're now floating a loss of $3.00
- We decided to take another sell position...
The ea calculates the current loss of 30 pips (or $3.00)
Adds the target value of 10 pips (or $1.00)
And decides the lot-size for the position is 0.04 lots
0.04 x 10 pips = $4.00
Profit = $1.00
* In the next example i'll express a similar using hedging...
Example #2
We use the ea to enter a sell position (0.01)
Price moves against us 30 pips
We're now floating a loss of $3.00
- We decided to take BUY position...
The ea calculates the current loss of 30 pips (or $3.00)
Adds the target value of 10 pips (or $1.00)
And decides the lot-size for the position is 0.04 lots
0.04 x 10 pips = $4.00
Profit = $1.00
-----------------------------------------
So basically, anytime we think the market is going to move 10 pips in either direction we can click buy or sell and have the ea execute a position that not only makes the set target but covers the current floating loss for that pair.
Basic GU options could be:
Buy to profit
Buy to break-even
Sell to profit
Sell to break-even
I hope I've explained this well enough for you to understand and to discuss this concept as i believe this tool would be invaluable to discretionary traders in certain conditions.
I'm providing the following image as a way to explain the concept in a clear manner, not as a strategy.
Thanks in advance...