[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1081
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
Something just doesn't seem to be working. PLEASE HELP.
The idea of the test is as follows: if the candle is greater than a certain value, then prohibit further trading.
I cannot understand what you are trying to achieve. After your last post, which you deleted, I made a script that displays all the data about the size of the candlestick and the parameters to be checked. Everything works.
Only strange logic seemed to me - if the candle is bullish, you prohibit buying, and if it is bearish, you prohibit selling... But it's up to your own logic...
How to implement such a piece of code:
We check the zero bar (which is not yet fully formed) until it is the first one (already fully formed). If the zero bar is now the first (instead of 0 it has a 1) - then we continue...
Pro, help me make this part of the code!!!
How to implement such a piece of code:
We check the zero bar (which is not yet fully formed) until it is the first one (already fully formed). If the zero bar is now the first (instead of 0 it has a 1) - then continue...
Pro, help me make this part of the code!!!
Help find an advisor that takes information from history ....
What kind of information? About the location of the stars?
It's been discussed on this forum more than once about an Expert Advisor that goes into the history and takes information (quotes, etc.) So I'm looking for something like that !
Wouldn't it be better to decide what information you want from the story and write the code?
Check the first one straight away. Why check zero waiting for it to be first?
This will ensure that not every tick will execute all code further, but only when the zero bar is first...
This will ensure that not every tick will execute all the code further, but only when the zero bar is first...