[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 428
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
So there's an example here.
Take a closer look at what the iCustom function returns
I see, type double... only it's not clear how do I get the colour value then?
Why do you need a colour value? And what happens if you change it?
I don't need to change it, I need to open a position when the indicator (histogram) is green; close it when it is red....
So I asked what is "Subwindow Angle"? [0-2]
Read carefully about this function. I didn't realise what it was. At first I thought it was the angle of the subwindow. But there are only 3 values and the coordinates are not in pixels. Not sure what it is.
=========
А! Got it! This is the number of the coordinate group.
time1 - Time of the first coordinate.
price1 - Price of the first coordinate.
time2 - Time for second co-ordinate.
price2 - Price of second co-ordinate.
time3 - Time for the third coordinate.
price3 - Price of the third co-ordinate.
Here is the code
In my case, it turns out that the current time is less than the expiry time, TimeCurrent() is less than OrderExpiriation, but the orders are still deleted. What is the error? I have been sitting here all day and cannot find it.
Read carefully about this function. I didn't realise what it was. At first I thought it was the angle of the subwindow. But there are only 3 values and the coordinates are not in pixels. Not sure what it is.
=========
А! Got it! It's a coordinate group number.
time1 - Time of the first coordinate.
price1 - Price of the first coordinate.
time2 - Time for second coordinate.
price2 - Second coordinate price.
time3 - Time for the third coordinate.
price3 - Price of the third co-ordinate.
I'll check it out. Thank you!