Specification
Rules for price action bot:
write me an mt5(mql5) .mq5 code expert advisor with the following rules:
rules=
1.strategies-Pin Bar Strategy,Inside Bar Strategy,Engulfing Candlestick Strategy,Breakout and Retest Strategy,Trendline Trading Strategy,Hammer Candlestick Pattern,Shooting Star Candlestick Pattern,Three Inside Up Candlestick Pattern,Three Inside Down Candlestick Pattern,Morning Star Candlestick Pattern,Evening Star Candlestick Pattern,Bearish Harami Candlestick Pattern,Piercing Line Candlestick Pattern. ,bullish engulfing patterns, hammer and inverted hammer patterns,three white soldiers patterns,tweezer bottoms patterns, bullish harami patterns,exhaustion and impulsion 2.0 patterns, dragonfly doji pattern ,bullish fakeout pattern,spinning top patterns, rising 3 mehtod patterns, bearish fakeout pattern,three inside down pattern, three outside up pattern, three outside down pattern,
2.check if the next candle is a sureshot trade if strategy>=1 and higher timeframe predicts the candle to be green/red. prediction for next candle bullish/bearish. And
4.Volume Confirmation: We can include volume analysis to confirm the strength of the signals. High volume during signal formation can increase the reliability of the signals.
5.Price Action Filter: Adding a price action filter can further validate the signals. For example, we can check for specific price action behaviors, such as long wicks or narrow range candles, to filter out false signals.
6.Market Sentiment Analysis: Analyzing market sentiment through sentiment indicators or news sentiment can provide additional confirmation for the signals.
3. make sure the signals are not triggered in sideways markets but only in trending
4.Plot generate buy/sell signals when check if the next candle is a sureshot trade if strategy>=1 and higher timeframe predicts the candle to be green/red. prediction for next candle bullish/bearish. And
4.Volume Confirmation: We can include volume analysis to confirm the strength of the signals. High volume during signal formation can increase the reliability of the signals.
5.Price Action Filter: Adding a price action filter can further validate the signals. For example, we can check for specific price action behaviors, such as long wicks or narrow range candles, to filter out false signals.
6.Market Sentiment Analysis: Analyzing market sentiment through sentiment
4. add a condition where the 80% or above payout currency pairs are only chosen for trades.
For dashboard of the expert advisor
5. a
a. Add a stoploss
on new bar/on exisiting bar,amount, etc