Job finished
Specification
The indicator will place 4 EMAs and buy / sell arrows on the loaded chart.
It will analyze multi timeframe and symbols at the same time and send a (popup, sound, email and/or push) alert when an entry signal happens.
The indicator has to monitor multiple sets of symbols+timeframe based on current symbols ATR vs SPREAD. Let me explain.
Let’s assume that i want to scan 10 symbol, 20 symbol, any number of symbol. I set the symbols to scan in the symbol setting. For example:
USDCHF,GPBUSD,USDCAD,GBPCHF,GPBCAD,CADCHF,EURGBP,EURAUD,AUDCAD,GBPNZD,EURUSD,EURCHF,EURCAD,AUDJPY,NZDCAD,USDJPY,EURJPY,CHFJPY,CADJPY,NZDJPY,AUDUSD,GBPJPY,NZDUSD,AUDCHF,NZDCHF,AUDNZD,EURNZD,GBPAUD
For each setted symbol:
- if [current spread]*100/ATR is < than a value (for example 5%) then the Indicator scans the symbol in all timeframes from 5 minutes to 1 month.
- if [current spread]*100/ATR is > than a value (for example 10%) but < than another value (for example 10%) then the Indicator scans the symbol in all timeframes from 30 minutes to 1 month.
- if [current spread]*100/ATR is > than a value (for example 15%) then the Indicator scans the symbol in all timeframes from 4 hours to 1 month.
SIGNAL RULES FOR BUY ALERT (Sell is at the contrary):
1st condition: Secondary EMAs are above the Primary EMAs
2nd condition: Primary EMAs are in bullish cross
3rd condition: Primary EMAs are spaced of a number of points (for example 10 points)
(4th OPTIONAL condition: ADX level is higher than a certain value)
1st event: Secondary EMAs down cross (bearish cross)
2nd event: price touch the Slower Primary EMA
3rd event: Secondary EMAs up cross (bullish cross)
When 3rd event takes place, then send immediately an alert (do not wait for the candle closing). Send 1 single alert x candle.
Then I will also need a similar manual trading EA trade panel that let me easy manage trades from the chart:
- Click button to set an horizontal graphic SL line (place the broker SL at that level when trade starts or, if freeze price has not been reached, place the broker SL at the minimum distance and leave this SL graphic line in the same place - this line will work as a SL-)
- Caluclate lots based on a setter account risk % and SL pips distance from candle open price.
- Open the trade when the next candle opens (same conditions and events above to determine if buy or sell)
- Optional TP graphic line
- Close the trade when secondary EMAs cross back at the end of the candle
- Send an alert when a candle closes and Secondary EMAs cross back again ready to start a new trade