ubzen:
- I'll recommend using functions to break your code into smaller parts
- Create a function which checks for orders which lies within the range
- Create a function which converts your points into integer pips for compare
- Create a function which deals with 4/5 digits effectively
Good point!
I will try using break with this logic when order is missing.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Having trouble coding logic for checking Price Range and if any order(s) is missing on any price between range new order is sent.
Here I tried to make code to check range between buy order open price and buy order stoploss price and send buylimit orders to missing prices in that range.