Specifiche
Hello,
I want to create an EA with the belowspecification.
EA will check conditions based on following input parameters:
● High Price
● Low Price
● Move Value (in Price)
● Gap (in price)
After start, EA will mark High and Low prices based on input parameters. EA will start trading when the current price will hit any of the price POSITION at High, Low, Control Buy or Control Sell.
EA will open the Buy order when the current price crosses the position from below. Sell order will be opened when the price crosses the positions from above.
EA will mark every new highest price as NEW HIGH as far as it's higher than previous High, and same with NEW LOW as far as it's lower than previous Low. Low and High will only shift based on price after installation.
EA will mark a new CONTROL BUY when the highest price changes or a new CONTROL SELL when the lowest price changes.
The EA will be able to determine the trend using the 3 categories set up in the picture. EACH category will indicate if it’s a BUY or SELL decision.
Category 1.
If current price is above the 2 lines, it will be a BUY but if below the 2 lines it will be a SELL.
Category 2.
If Market trend of any is going upwards while the other is static, it will be a BUY, but if going downwards, it will be a SELL.
Category 3.
Same as 2. If any of the lines become static at lower position, then it will be a BUY, but if at the top, it will be a SELL.
Description of Variables.
Group 1 lines- can be referred to as the CONTROL BUY or SELL. It is computed using the HIGHEST price- GAP (price), or LOWEST price +GAP (price). Both positions help to determine market trend and also help to know when to take a BUY or SELL decision.
Group 2 lines can be referred to as the START HIGH and START LOW positions. It is set at the start of the installation as an input. It is static until manually changed.
Group 3 lines can be referred to as the HIGHEST and LOWEST Price after installation. It grows with the peak of each side after installation. It starts at same position as you can see from the picture and then separates as market Highest and lowest position changes. This should also be a good indicator to identify the trend and therefore set the EA to take accurate trades as BUY upwards or SELL downwards. The START position can be used to confirm the trend also when market price goes above the starting price, it becomes a BUY TREND or a SELL TREND when market price goes below the starting price.
Order can be closed by Profit Accumulation function. This function will have input parameter:
● Profit Target Minimum.
If total orders profit will be higher than this value, EA will remember this value. When profit goes higher - value will be updated. From that point, orders will be closed when profit goes below Higher Profit Value - Profit Target Minimum.
EA will mark following values on a chart: STARTING High price & Low price, HIGHEST & LOWEST PRICE + TIME OF CHANGE, HIGHEST PRICE - GAP (+TIME OF CHANGE) = (CONTROL BUY), LOWEST PRICE + GAP (+TIME OF CHANGE) = (CONTROL SELL)
EA will send alerts when following data will be updated - HIGHEST PRICE - GAP (+TIME OF CHANGE) = (CONTROL BUY), LOWEST PRICE + GAP (+TIME OF CHANGE) = (CONTROL SELL)
EA will show Highest High and Lowest low based values based on market updates after EA installation with prices and dates achieved.
There are different lot sizes for Start bid, Move bid and Control bids. And will be set as parameters
Additional Parameters:
● Start Lot Size - 0.01 by default
● Move Lot Size - 0.01 by default
● Re-entry Lot Size - 0.01 by default
● TakeProfit - 0 by default. If 0 - off
● StopLoss- 0 by default. If 0 - off
● Start High
● Start Low
● Gap
● Move Price DIstance
● Use Alerts - true/false
● Magic Number - is a unique number used by Expert Advisors to track open positions. Using the magic number, the EA can separate its orders from the orders of other strategies. If an advisor trades on several Symbols simultaneously, then when adding an advisor to different charts, you need to indicate different magic numbers. If the advisor trades only with the current symbol, then the magic number can be left unchanged.
Source code will be provided after the completion.
Testing may take up to 4 weeks to identify any error
IT SHOULD ALSO BE ABLE TO SHOW THESE ON SCREEN.