[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 613
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
Yes they are int type, but I thought the result is output immediately without assignment. Thanks, I'll give it a try.
Gut it's working.
This is what I got. If anyone is interested, I can post the source code. This script generates statistics by bars. I analysed the daily bars on this chart.
I found an interesting pattern. The percentages are almost the same for all periods. There is +-5% difference. In the ratio of bulls to bears by one, two and three in a row.
This is what I got. If anyone is interested, I can post the source code. This script generates statistics by bars. I analysed the daily bars on this chart.
I found an interesting pattern. The percentages are almost the same for all periods. There is +-5% difference. In the ratio of bulls to bears by one, two and three in a row.
Put it out there, it's interesting to see.
There's a homemade indicator, but I've dumbed it down, I want to get the value of
day_max and day_min, can you tell me how to pull it out? It is clear that with iCustom, but I can't figure out how.(Due to the fact that this indicator is very difficult to put in an owl:(... for me)
property copyright "DOC"
#property link "none"
#property indicator_chart_window
#property indicator_buffers 5
#property indicator_color1 Red
#property indicator_color2 Blue
#property indicator_color3 Green
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
double ExtMapBuffer5[];
double day_max;
double day_min;
(Please tell me how to check if an order is opened on this symbol))
Here's a tip:
We loop through all open orders and look at the order symbol: if it is interesting to us, we increase the counter, or return "true", depending on what we need next. If we have gone through all orders and have not found the necessary symbol, we return "false" or zero, if we have to determine the number of orders.
Good afternoon, could you please tell me how to check if an order is open on this financial instrument?)
Here's a tip:
We loop through all open orders and look at the order symbol: if it is interesting to us, we increase the counter, or return "true", depending on what we need next. If we have cycled through all orders and have not found the necessary symbol, we return "false", or zero, if we wanted to determine the number of orders.
How can we go through all of the open orders? What function should we use? OrderSelect?