Работа завершена
Техническое задание
To help you understand what I want to receive.
My algorithm sets the price range every day and the maximum limits for deviations.
BLUE LINES
I want to enter 4 data into the robot. F and G - lower and upper limits and DG and GG - maximum deflections.
I would like to enter this data from the desktop (window) every day. (I drew it on the screen) (1)
The robot will set pending orders and delete them after a specified time (if they are not fulfilled) (introduction to the robot after how many hours it is to delete the orders)
After entering the data, I want the robot to set the orders:
The first type of orders:
The robot checks where the price is.
If the price is above G then: the robot places an order waiting for a rebound from G
If the price is between G and D, the robot places 2 pending orders.
the first for a reflection from G and the second for a reflection from D.
If the price is below D, we play to rebound from D.
TP and SL set up the same manual in the robot for all transactions.
The second type of orders:
The robot sets pending orders:
BUY - TP on D
1. Between levels D and DG
2. At DG level
3. Option in the job that it is possible (0- no transaction, another value is a deviation from the DG level)
SELL - TP on G
1. Between the G and GG levels
2. At the GG level
3. Option in the job that it is possible (0- no transaction, another value is a deviation from the GG level)
We set the SL manually in the robot, the same for all transactions counted from D or G depending on whether they buy or sell.
Organizationally:
I would like the values to be entered in points, i.e. 0.00001
Option to determine the size of the transaction. (lot site)