I have created an EA that scans the different currency pairs for pinbars and support and resistance. The scanning for pinbars works as it should but I have a problem with support and resistance. It should make an alert if the price is less than 2 * ATR but Sometimes there isn't anough history for a currency pair and I get false signals. Do you know how I can program the EA to read the first 480 bars before searching for support and resistance?
Attached File(s)
1pinbar.mq4
35 KB
|
1,025 downloads
If slaughterhouses had glass walls, everyone would be a vegetarian!