Работа завершена
Техническое задание
Pip Flash ( NAME OF THE EXPERT ADVISOR)
This Expert Advisor Will handle Open Trade and Will Have to Open 2 Mores Trades if They Meet the Criteria
I want to Display the Following information When It detect the Trade
I will Open the FirstTrade Manually
The EA will only Handle Trades where they are Attach only,
I want to scan the Open Trade and Get the Following Information
-
Asset = Pair (Example EUR/USD)
-
Lot Size = Lot Size (Example 0.10)
-
Order Number = Order Number (Broker Order Number)
-
Trade Name = Trade1
-
Pips = Pips of the Trade
-
Value per Pip = $1.00 (Because Lot Size is 0.1 and the pair is EURUSD) The EA need to calculate that
-
Balance1 = Balance of the First Trade.
-
Balance2 = Balance of the Seconde Trade
-
Balance3 = Balance of the Third Trade
-
Order Type 1 = Order Type (BUY OR SELL)
-
Order Type 2 = Order Type (BUY OR SELL)
-
Order Type 3 = Order Type (BUY OR SELL)
-
Asset Balance Target = value per pip X Take Profit1 X Balance Target Multiplier
-
Asset Balance Total = Balance1+Balance2+Balance3
![DISPLAY INFORMATION DISPLAY INFORMATION](https://c.mql5.com/21/137/display___1.png)
-
Display Information
ACCOUNT NAME: | ||||||
ACCOUNT NUMBER: | ||||||
ACCOUNT BALANCE: | ||||||
ASSET | ||||||
ASSET BALANCE:
|
||||||
ASSET BALANCE TARGET:
|
||||||
ASSET | LOT SIZE | ORDER NUMBER | ORDER TYPE | TRADE NAME | PIPS | BALANCE |
EUR/USD | 1.00 | 12345600 | BUY | TRADE1 | 2 | $20.00 |
233 | BUY | TRADE2 | ||||
2323 | BUY | TRADE3 | ||||
BALANCE TOTAL | $20.00 |
-
Manually Inputs Need it (Please by default put zero)
-
Take Profit1 = 0 (Pips)
-
Take Profit2 = 0 (Pips) Add the Spread option ( yes or no)
-
Take Profit3 = 0 (Pips)Add the Spread option ( yes or no)
-
Stop Loss1= 0 (Ppips)
-
Stop Loss2= 0 (Ppips)
-
Stop Loss3= 0 (Ppips)
-
Hide Take Profit = yes or no option
-
Hide Stop Loss = yes or no option
-
Second Order Size Multiplier = 1.5 (example by default put 0)
-
Third Order Size Multiplier = 1.5 (example by default put 0)
-
Order Type 2 = 2 options( Opposite or Same of Order Type1)
-
Order Type 3 = 2 options( Opposite or Same of Order Type2)
-
First Order Pip Loss = 0 (pips)
-
Second Order Pips Loss = 0 (Pips)
-
Balance Target Multiplier = 1.5 (Example)
-
OPEN SIZE LOT FOR THE NEXT TWO TRADES THAT THE EA WILL OPEN
-
Lot Size Trade1 = Lot size of the first Manually Open Trade
-
Lot Size Trade2= Lot SizeTrade1 X Second Order Size Multiplier
-
Lot Size Trade3 = Lot SizeTrade1 X Third Order Size Multiplier
-
OPEN ORDER FOR THE NEXT TWO TRADES IF THEY MEET THE FOLLOWING
-
Open the Second Order If
-
First Order Pip Loss is hit
-
Order Type = Order Type 2
-
Lot Size = Lot Size Trade2
-
Take Profit on Second Order = Take Profit2
-
Take Profit of the First Order Modify = 0 (Pips)
-
Stop Loss on first Order Modify = Take Profit2
-
OPEN ORDER FOR THE NEXT TRADE IF THEY MEET THE FOLLOWING
-
Open the Third Order If
-
Second Order Pip Loss is hit or Entry Price First Order is Hit
-
Order Type = Order Type 3
-
Lot Size = Lot Size Trade3
-
Take Profit on Second Order = 0
-
Take Profit of the Second Order Modify = 0 (Pips)
-
Take Profit of the first Order Modify = take Profit3
-
Stop Loss on Second Order Modify = Take Profit3
-
CLOSE THE ORDER IF THE MEET THE FOLLOWING
-
If Balance Total >= Balance Target
-
Close all three Trades