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
IIFc() function.
...Trying to make a missing ternary operator?
Score, thanks, with my habit of putting curly braces wherever I can, it will be very useful.
I was reading the book by V.Yakimkin. "Forex market - your way to success" and came across such lines "...differential from (DJI x Nikkei)..." Tell me, Igor, is it possible to implement and output it in the form of indicator...
The differential is the speed shown by the ROC indicator.
Igor, don't you have a function in your stash for closing all positions at once, including closing with counter positions in mind?
I.e. to first close all counter positions, as much as possible, taking into account the mismatch of counter positions' lots, then the losing, profitable ones...
Igor, do you have a function in your storeroom for closing all positions at once, including closing with counter positions in mind?
I.e. to first close all opposite positions, as far as possible, taking into account the mismatch of lots of opposite positions, then the losing, profitable ones...
No, I don't have it yet.
The ExistInHistoryCloseBetween() function.
Returns a flag for the existence in the history of a position or order closed (deleted) between dates. Function ExistInHistoryCloseBetween() receives the following parameters:
Examples of the use of ExistInHistoryCloseBetween().
P.S. Attached is a script to test the ExistInHistoryCloseBetween() function.
The ExistInHistoryOpenBetween() function.
Returns a flag for the existence in the history of a position or order open (set) between dates. The ExistInHistoryOpenBetween() function accepts the following parameters:
Good afternoon!
Igor, could you tell me how to paint the bar in the colour I want.
I will tell you from the beginning. I am writing an indicator for zonal trading - the fourth dimension of Williams' B-market. I need bars to be colored either green, red or gray.
I wrote an indicator and this is what I got:
This is not what I want. How to make a bar to be colored in the middle. I am using a rectangle with two coordinates as a shading method. That's where I have the whole problem, how to choose the coordinates of the start and end of the rectangle.
Please give me a hint.
Here's the code for the indicator.
Igor, could you please tell me how to shade a bar in the colour I want.
...
How to make a bar to be shaded exactly in the middle.
Take a look at the Heiken Ashi indicator. Its source code is included in MetaTrader 4.
Function ExistInHistoryToDay().
Returns the flag of existence in the history of a position or order opened (set) today. Function ExistInHistoryToDay() receives the following parameters: