Lavoro terminato
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specifiche
1. W1 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the Current Bar == Bullish &&
ii. If Current Bar Price > Maximum value between (Close or Open) of previous bar.
b. Color the cell Red and print “Sell”
i. If ONLY the Current Bar == Bearish &&
ii. If Current Bar Price < Min value between (Close or Open) of previous bar.
2. D1 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the Current Bar == Bullish &&
ii. If Current Bar Price > Maximum value between (Close or Open) of previous bar.
b. Color the cell Red and print “Sell”
i. If ONLY the Current Bar == Bearish &&
ii. If Current Bar Price < Min value between (Close or Open) of previous bar.
3. H4 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the Current Bar == Bullish &&
ii. If Current Bar Price > Maximum value between (Close or Open) of previous bar.
b. Color the cell Red and print “Sell”
i. If ONLY the Current Bar == Bearish &&
ii. If Current Bar Price < Min value between (Close or Open) of previous bar.
4. H1 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the Current Bar == Bullish &&
ii. If Current Bar Price > Maximum value between (Close or Open) of previous bar.
b. Color the cell Red and print “Sell”
i. If ONLY the Current Bar == Bearish &&
ii. If Current Bar Price < Min value between (Close or Open) of previous bar.
5. M30 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the Current Bar == Bullish &&
ii. If Current Bar Price > Maximum value between (Close or Open) of previous bar.
b. Color the cell Red and print “Sell”
i. If ONLY the Current Bar == Bearish &&
ii. If Current Bar Price < Min value between (Close or Open) of previous bar.
6. M15 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the current Bar == Bullish &&
ii. If previous Bar == Bearish &&
b. Color the cell Red and print “Sell”
i. If ONLY current Bar == Bearish &&
ii. If Previous Bar == Bullish &&
7. M5 Column:
a. Color the cell Green and print “Buy”
i. If ONLY the current Bar == Bullish &&
ii. If previous Bar == Bearish &&
b. Color the cell Red and print “Sell”
i. If ONLY current Bar == Bearish &&
ii. If Previous Bar == Bullish &&
1. The EA will have a lot size input to be used when a trade is opened.
2. The EA will have a Trailing stop requirement pips
1. EA must check for trading conditions:
a. Open a Buy trade if M5,M15,M30,H1,H4,D1,W1 under the TREND COLUMN = Green == Buy
b. Open a Sell trade if M5,M15,M30,H1,H4,D1,W1 under the TREND COLUMN = Red == Sell
2. EA cannot duplicate or open the same/identical currency pairs at the same time.
3. The lot size must be the same for each currency pair when opened.
1. Trailing Stop loss:
a. If a BUY trade is opened, automatically set a stop loss using M-15 Chart:
i. Compare the 2_previous_bar_ago and the immediate_previous_bar BEFORE the current bar
ii. Identify the lower_low between the 2 bars above
iii. Set the Trailing stop loss at the LOWER LOW Value.
b. If a SELL trade is opened, automatically set a stop loss using M-15 Chart:
i. Compare the 2_previous_bar_ago and the immediate_previous_bar BEFORE the current bar
ii. Identify the Higher_high between the 2 bars above
iii. Set the Trailing stop loss at the HIGHER HIGH value.
2. If Max Loss Account Balance is = Max Loss Account balance input, then CLOSE ALL TRADES.
1. The EA will have all Automatic Close ALL Trades (Broker Terminal Time) inputs which I can SELECT or DE-SELECT
Each time any of this time is reach on the Terminal, the EA will check for open Trades and close all Open Trades at this time. 00:29, 00:59, 01:29, 01:59, 02:29, 02:59, 03:29, 03:59, 04:29, 04:59, 05:29, 05:59, 06:29, 06:59, 07:29, 07:59, 08:29, 08:59, 09:29, 09:59, 10:29, 10:59, 11:29, 11:59, 12:29, 12:59, 13:29, 13:59, 14:29, 14:59, 15:29, 15:59, 16:29, 16:59, 17:29, 17:59, 18:29, 18:59, 19:29, 19:59, 20:29, 20:59, 21:29, 21:59, 22:29, 22:59, 23:29, 23:59)
This is for my personal Decision, Not part of the EA function just Dashboard.
1. TimeFrame = [“M5”,“M15”, “M30”, “H1”, “H4”, “D1”]
a. Loop TimeFrame
1. It uses Candle0 = current candlestick
2. It uses Candle1 = candlestick before candle0
3. It uses Candle2 = candlestick before candle1
4. It uses Candle3 = candlestick before candle2
5. It uses Candle4 = candlestick before candle3
6. It uses Candle5 = candlestick before candle4
Bull Conditions
1. Candle0 = bullish
2. Candle1= bullish or bearish
3. Candle2= bullish or bearish
4. Candle3 = bullish or bearish
5. Candle4 = bullish or bearish
6. Candle5 = bullish or bearish
7. Candle2_Low < Candle1_Low && Candle1_Low > Candle0_Low && Candle2_Low < Candle0_Low &&
8. Candle0_High >= Maximum value between (Candle1_OPEN or Candle1_CLOSE) &&
9. (Candle3_high<Candle4_high) or (Candle3_high<Candle4_high<candle5_high) or (Candle3_low<Candle4_low) or (Candle3_low<Candle4_low<candle5_low)
10. Print “Bullish” on the chart
Bear Conditions
1. Candle0 = bearish
2. Candle1= bullish or bearish
3. Candle2= bullish or bearish
4. Candle3 = bullish or bearish
5. Candle4 = bullish or bearish
6. Candle5 = bullish or bearish
7. Candle2_High > Candle1_High && Candle1_High < Candle0_High && Candle2_High > Candle0_High &&
8. Candle0_low <= Minimum value between (Candle1_OPEN or Candle1_CLOSE) &&
9. (Candle3_high<Candle4_high) or (Candle3_high<Candle4_high<candle5_high) or (Candle3_low<Candle4_low) or (Candle3_low<Candle4_low<candle5_low)
10. Print “Bearish” on the chart