명시
I would like to add additional filters and position size management as follows on my existing MT5 EA (Will be shared after programmer selected).
Filters to open a position for all strategies.
1-) To measure how many % of Daily ATR the current day has already moved, if it is higher than X%, to avoid trading on that day. Example: more than 80% of the ATR.
2-) If market opens with GAP higher than X% to avoid trading on that day;
Money Management for all strategies
1-) To adjust the TP based on Daily ATR %, dividing the TP by two for the remaining expected movement for the Day.
Example, lets suppose the ATR for a stock is 1,00 cents, and on the current day at the moment the EA will open a position the stock had already moved 0,50 cents (50% of ATR).
The TP will be defined at 0,25 cents and 0,50 cents from the open position price. When reached 0,25 cents to have an option to move SL to breakeven.
2-) Trailing stop. If enable, to move the stop loss to the last bar low/high using the current SL % logic to give a bit of space.
For RSI Strategy
a) On current open position logic the EA opens a long position when 2 bars before the RSI is > 70 and 1 bar before RSI < 70. I would like to open the trade following the same principle but when the bar before make a higher value. Opposite for short.
Example: 4th bar before RSI was at 70, 3rd bar before was at 69. Condition met. Now wait for a close of RSI higher than last bar RSI.
2nd bar RSI was at 68, 1st bar is 69. Now trade is opened since last bar closed higher than 2nd prior bar.
The stop loss of this position should be at the low/high of the candle that made the low of high that movement using the current SL % logic to give a bit of space.
b) Filter to only open the position if the RSI was above/below the RSI_Entry for a minimum of X bars;
c) To take profit of 1/3 of the position at the high/low of the day minus X cents.