EA to activate trades using both SHORT and LONG TERM Time Frame Conditions
Budget: $30 – $250 USD
I want to develop an Expert that’s based on the market price movements using the defined concept below.
The concept of this EA/Robot is to take trades towards the outside of some pre determined values at the beginning of the period. I will decide on the distance I want the product to achieve for the period. This will be the difference between the Highest and the lowest price of the product from the time of Starting the EA. If the price between the Highest and Lowest price reaches the speculated position, then it automatically stops taking new trades and closes all existing trades.
So at the beginning of the period, their will be a minimum movement to achieve before the EA will activate its first trade, once the minimum gap is achieved and it wants to place the first trade, it will place it as a BUY upwards or as a SELL if the direction is downwards. After placing the first trade, the market is expected to continue out of the starting prices and should go further until the projected gap(difference between the HIGHEST PRICE and the LOWEST PRICE) is achieved at which it will then close the trades.
The EA will consider 2 CONDITIONS to determine how it will take the trades.
The FIRST CONDITION is the LONG TERM POSITION. This will involve the robot to identify the FIRST POSITION to be reached between the HIGHEST PRICE and the LOWEST PRICE. This will show the price and the time achieved on the screen. The EA will then use the EARLIEST PRICE achieved of the 2 prices to project the LONG TERM BIDS away from the PRICE as market takes position for the Short term. So if the earliest position is a LOW PRICE, the EA will project a BUY POSITION upwards until it reaches the limit that will be set. Same thing if the first position is the HIGHEST PRICE, the EA will project a SELL POSITION downwards until it reaches the limit that will be set
The SECOND CONDITION is the SHORT TERM POSITION. This will use a parameter to identify when opportunities to take bids are reached, so once the price for the bids have been reached, the position of the price to the existing performance of the bid to date will then determine if the bid will be a BUY or a SELL. Using the scale of 0% (LOWEST) to 100% (HIGHEST). For Example if All positions above the 55% for example will be a BUY bid and those below 45% will be a SELL bid. The % for BUY and SELL will be a variable which I can change at anytime. So all that the EA needs is to know when to calculate the bid price and then compare to the % within the limits to know whether its going to be a BUY or a SELL. The prices will be determined based on the TREND movement between the HIGH trend and the LOW trend.
So the prices will be obtained at intervals of Time Frames (TF). So if TF is hourly, then highest price and lowest price at every hour will be obtained. If new TF position extreme is in line with previous TF extreme, then it will show if the trend is BUY – Going UP or SELL- Going DOWN. If old TF High is 120, and new TF High is 125, then the trend is UP=BUY will be active, if however the TF High is 119, which means it didn’t reach the 120 of old, then Trend will automatically change to LOW and so will select the Price of the Lower price rather than the Higher price of the Trend. And then it will start to compare the Low which is the current trend to previous Low to identify if it follows the trend and if not, it changes back to UP. This is shown below where the coloured is the trend movement. Below is an example of a daily TF report
Further details in attached report
The concept of this EA/Robot is to take trades towards the outside of some pre determined values at the beginning of the period. I will decide on the distance I want the product to achieve for the period. This will be the difference between the Highest and the lowest price of the product from the time of Starting the EA. If the price between the Highest and Lowest price reaches the speculated position, then it automatically stops taking new trades and closes all existing trades.
So at the beginning of the period, their will be a minimum movement to achieve before the EA will activate its first trade, once the minimum gap is achieved and it wants to place the first trade, it will place it as a BUY upwards or as a SELL if the direction is downwards. After placing the first trade, the market is expected to continue out of the starting prices and should go further until the projected gap(difference between the HIGHEST PRICE and the LOWEST PRICE) is achieved at which it will then close the trades.
The EA will consider 2 CONDITIONS to determine how it will take the trades.
The FIRST CONDITION is the LONG TERM POSITION. This will involve the robot to identify the FIRST POSITION to be reached between the HIGHEST PRICE and the LOWEST PRICE. This will show the price and the time achieved on the screen. The EA will then use the EARLIEST PRICE achieved of the 2 prices to project the LONG TERM BIDS away from the PRICE as market takes position for the Short term. So if the earliest position is a LOW PRICE, the EA will project a BUY POSITION upwards until it reaches the limit that will be set. Same thing if the first position is the HIGHEST PRICE, the EA will project a SELL POSITION downwards until it reaches the limit that will be set
The SECOND CONDITION is the SHORT TERM POSITION. This will use a parameter to identify when opportunities to take bids are reached, so once the price for the bids have been reached, the position of the price to the existing performance of the bid to date will then determine if the bid will be a BUY or a SELL. Using the scale of 0% (LOWEST) to 100% (HIGHEST). For Example if All positions above the 55% for example will be a BUY bid and those below 45% will be a SELL bid. The % for BUY and SELL will be a variable which I can change at anytime. So all that the EA needs is to know when to calculate the bid price and then compare to the % within the limits to know whether its going to be a BUY or a SELL. The prices will be determined based on the TREND movement between the HIGH trend and the LOW trend.
So the prices will be obtained at intervals of Time Frames (TF). So if TF is hourly, then highest price and lowest price at every hour will be obtained. If new TF position extreme is in line with previous TF extreme, then it will show if the trend is BUY – Going UP or SELL- Going DOWN. If old TF High is 120, and new TF High is 125, then the trend is UP=BUY will be active, if however the TF High is 119, which means it didn’t reach the 120 of old, then Trend will automatically change to LOW and so will select the Price of the Lower price rather than the Higher price of the Trend. And then it will start to compare the Low which is the current trend to previous Low to identify if it follows the trend and if not, it changes back to UP. This is shown below where the coloured is the trend movement. Below is an example of a daily TF report
Further details in attached report
Related categories:
C Programming
Business, Accounting, Human Resources & Legal
Python
Metatrader
C++ Programming