Работа завершена
Техническое задание
I will be choosing the previous developer to adapt this.
Attached is a screenshot of the robot's parameters to make sure that you will be using the latest version we worked on.
The robot has the following issue:
When it tries to open a new position, if the spread (in pips) at that moment is bigger than the TP or SL (in pips) that the robot tries to open the position, the robot stops opening positions.
So, what I would like to have is the following:
- Before opening a new position, first we check if the spread is smaller than X pips
- The X is a parameter that I will be specifying when I set the parameters
- We will name this parameter: Open position if Spread less than (pips)
- In the case where the Spread is equal or bigger than X, then the robot keeps checking every 1 or 5 or 10 seconds (which ever is ok to use) and when Spread is less than X, then the robot will continue to open the position, continuing from the point where it stopped.
Example: We open positions as 0.01 lots, 0.02, 0.04, etc. Say when it lost on 0.02 it has to open 0.04. At this moment, the Spread is bigger than X. The robot will not open the next position and it will start to read the spread until it goes less than X. When it does, it will open the next position with 0.04 lots (plus whatever the rest of the parameters should be for this position).
Additional info:
I want to avoid the Journal errors like screenshot 02 and situations like screenshot 03.