Aesen #: Hey Anton can you help me make my On Balance Volume Divergence EA more consistently profitable? Maybe change some things in the code or add some features and make it better please. the code is fully working but i am not satisfied with the results i am getting from it
Some features i had in mind that would be nice to have on the EA is trend lines for when hidden and regular divergence is formed on the price charts and the obv indicator, maybe a nice trailing stop, also inputs that look something like this:
VariableValue
Regular DivergenceTrue/False
Hidden DivergenceTrue/False
Indicator TrendlinesTrue/False
Price TrendlinesTrue/False
I am trying to get this OBV Divergence EA to follow this Divergence cheat sheet i got from babypips.com:
The article provides a critical examination of regular divergence and efficiency of various indicators. In addition, it contains filtering options for an increased analysis accuracy and features description of non-standard solutions. As a result, we will create a new tool for solving the technical task.
Some features i had in mind that would be nice to have on the EA is trend lines for when hidden and regular divergence is formed on the price charts and the obv indicator, maybe a nice trailing stop, also inputs that look something like this:
VariableValue
Regular DivergenceTrue/False
Hidden DivergenceTrue/False
Indicator TrendlinesTrue/False
Price TrendlinesTrue/False
I am trying to get this OBV Divergence EA to follow this Divergence cheat sheet i got from babypips.com:
Another feature that i had in mind was that the EA will stack more trades if it goes in favor of the first trade that it places, if that makes sense....
for example, when the EA spots a bullish divergence and there is a buy signal and the first buy trade is placed, if the trade goes in favor of the first buy trade that the EA placed then the EA will stack more trades in the buy direction and vice versa if it were a sell trade.
Another feature that i had in mind was that the EA will stack more trades if it goes in favor of the first trade that it places, if that makes sense....
for example, when the EA spots a bullish divergence and there is a buy signal and the first buy trade is placed, if the trade goes in favor of the first buy trade that the EA placed then the EA will stack more trades in the buy direction and vice versa if it were a sell trade.
Can you also include a zone recovery hedging strategy where a first trade is initiated lets say a buy with lot size 0.01, and when it goes in the negative direction with some pips, say below by 30 pips, a counter sell is activated with a higher lot size, say 0.02, where if it continues to go down, the trades close at a breakeven or a profit and the loop is started again. however, if the sell does not work out well and price goes up, a another buy trade of a higher lot size, say 0.03 is activated at the same price the first buy was initiated. if it continues up and the net results are profit , the loop closes the trades at a profit and starts again. therefore, the 30 pips gap is fixed and referred to as a recovery zone, making it profitable for higher accounts by eliminating loses. If this is possible to program
Closes all previously manually opened trades when the MA (with all available muwings settings) touches the current price. Nothing else (is it a semi-automatic EA?).
Hey Anton can you help me make my On Balance Volume Divergence EA more consistently profitable? Maybe change some things in the code or add some features and make it better please. the code is fully working but i am not satisfied with the results i am getting from it
Some features i had in mind that would be nice to have on the EA is trend lines for when hidden and regular divergence is formed on the price charts and the obv indicator, maybe a nice trailing stop, also inputs that look something like this:
Variable Value
Regular Divergence True/False
Hidden Divergence True/False
Indicator Trendlines True/False
Price Trendlines True/False
I am trying to get this OBV Divergence EA to follow this Divergence cheat sheet i got from babypips.com:
Bullish Divergence (Reversal Up):
Candlestick Price - Lower Low
On Balance Volume - Higher Low
Bearish Divergence (Reversal Down):
Candlestick Price- Higher High
On Balance Volume - Lower High
Bullish Hidden Divergence (Trend Continuation Up):
Candlestick Price- Higher Low
On Balance Volume - Lower Low
Bearish Hidden Divergence (Trend Continuation Down):
Candlestick Price- Lower High
On Balance Volume - Higher High
Some features i had in mind that would be nice to have on the EA is trend lines for when hidden and regular divergence is formed on the price charts and the obv indicator, maybe a nice trailing stop, also inputs that look something like this:
Variable Value
Regular Divergence True/False
Hidden Divergence True/False
Indicator Trendlines True/False
Price Trendlines True/False
I am trying to get this OBV Divergence EA to follow this Divergence cheat sheet i got from babypips.com:
Bullish Divergence (Reversal Up):
Candlestick Price - Lower Low
On Balance Volume - Higher Low
Bearish Divergence (Reversal Down):
Candlestick Price- Higher High
On Balance Volume - Lower High
Bullish Hidden Divergence (Trend Continuation Up):
Candlestick Price- Higher Low
On Balance Volume - Lower Low
Bearish Hidden Divergence (Trend Continuation Down):
Candlestick Price- Lower High
On Balance Volume - Higher High
Another feature that i had in mind was that the EA will stack more trades if it goes in favor of the first trade that it places, if that makes sense....
for example, when the EA spots a bullish divergence and there is a buy signal and the first buy trade is placed, if the trade goes in favor of the first buy trade that the EA placed then the EA will stack more trades in the buy direction and vice versa if it were a sell trade.Another feature that i had in mind was that the EA will stack more trades if it goes in favor of the first trade that it places, if that makes sense....
for example, when the EA spots a bullish divergence and there is a buy signal and the first buy trade is placed, if the trade goes in favor of the first buy trade that the EA placed then the EA will stack more trades in the buy direction and vice versa if it were a sell trade.Hello. Please write an EA for MT4:
Closes all previously manually opened trades when the MA (with all available muwings settings) touches the current price. Nothing else (is it a semi-automatic EA?).
Hello,
I just made it and didn't get to test it. I hope it works for you.
Regards.
To: Antonio Simon Del Vecchio
Thank you! I'm a dummy... I have tocreate an EA in MetaEditor, insert this code, compile it and that's it?