Job finished
Specification
(I also explained it a little in this video: https://youtu.be/hb3wVor8SeQ )
I need a script to place pending limit orders, based on the Fibonacci tool that I draw on the chart. So first I draw the Fibonacci tool on the chart (and give it a name like FBT) and then add the script to place the pending orders.
I will need 2 scripts, one for Buy and one for Sell. I also want 2 scripts to delete only the pending orders that the script created.
- in case the price is already below a level so that it’s not possible anymore to place a pending order, then the order must be placed directly at the current price.
- I want the placed pending orders to have a comment, so that I can see which orders belong to the script orders. This can be done by using the time of placement, like FIB-1814 (placed at 14 minutes past 6pm).
- I added 2 extra levels to the Fibonacci: 76.4 and 88.2. I want to be able to choose which level should be used and what lot size, like this:
Level 23.6:
Enable: True
Lot size: 0.1
Level 38.2:
Enable: True
Lot size: 0.1
Level 50:
Enable: True
Lot size: 0.1
Level 61.8:
Enable: True
Lot size: 0.1
Level 76.4:
Enable: True
Lot size: 0.1
Level 88.2:
Enable: True
Lot size: 0.1
The TP should be at 0% of the Fibonacci, SL at 100%.
- I also want to be able to add a value to both TP and SL to increase or decrease the TP and SL by a number (of pips):
Take Profit + or - pips:
Adjust by: 0
Stop Loss + or - pips:
Adjust by: -10