Tarea técnica
Functions need in a robot:
1. Ask me whether it will work as a buy grid or a sell grid
2. Magic number choose option.
3. Price Range for Grid - 2 SL options- where the robot will suspend trading for his own orders(not the entire orders by other EA or manually placed). 1 SL option below the lowest price of the range, 1 above at the highest price of the range. Please keep in mind that the bot will start working again when the price comes in bot range again.
4. Option of number of grids b/w the range- example-1,2 ,3 or 4.
5. Option of Lot sizes at each grid: The lot size will be same at every grid, but it should give me an option what will be the quantity assigned. Example: It should ask me I want 0.03 lot at every grid or 0.05 at every grid.
6. TP for each order: TP for each order will be in terms of price increase. Example: I need profit at every $0.07 Price increase of each grid. It should not be in percentage or ticks or points or pips. Its purely based on Price increase.
Note: The bot should not interfere with other EA orders or manually placed orders.
Example of above functions are:
We are making a special Buy robot for XRP. The range is between 2.65 & 3.49. The lowest price is 2.65 And if at any time the price reaches 2.58. It will cancel all the open and closed order created by only its bot(not the other bot orders). If the price again comes at 2.65, the bot will start work again. There are total 13 grids, starts from 2.65 , and the last grid is at 3.51. The TP for each grid is 0.07 increase in price. For example the TP for 2.65 is 2.72, and the TP for 2.72 is 2.79, and the TP for 2.79 is 2.86, and the TP for 2.86 is 2.93, and the TP for 2.93 is 3.00, and the TP for 3.00 is 3.07, and the TP for 3.07 is 3.14, and the TP for 3.14 is 3.21, and the TP for 3.21 is 3.28, and the TP for 3.28 is 3.35, and the TP for 3.35 is 3.42, and the TP for 3.42 is 3.49, and the TP for 3.49 is 3.56. Replace the limit order again once the TP for respective grid is hit. FOr example, If the TP for 2.86 is hit which was 2.93, the time it hits the TP, instantly put Limit buy order again at 2.86. Remember that the last grid is 3.49 and its tp is 3.56. No order will be placed after 3.49 until the price hits its TP and again comes back at 3.49. Fixed lot sizes=0.03 at each grid.
However, I need just one robot that I can apply on 2 charts of the same symbol, means 2 chart windows, one for Buy robot, one for sell robot.