[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 295

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
isCloseLastPosByTake - Returns the flag to close the last position by take profit.
Help fix, standard stockistik, added an alert that doesn't work correctly, can't figure out where the error is....
Thanks
I want to make a multi MA. I.e. 2 MAs should be visible on the chart - one for the current instrument, the other for the second instrument:
There is a question of binding them to each other, because volatility and multiplicity of points of each instrument is different. I can't think of anything useful.... Help! :)
I want to make a multi MA. I.e. 2 MAs should be visible on the chart - one for the current instrument, the other for the second instrument:
There is a question of binding them to each other, because volatility and multiplicity of points of each instrument is different. I can't think of anything useful.... Help! :)
With the subwindow I hope it does not cause problems.
It depends on the task, you can take a MA with a large period on both charts and take it as the basis.
For example, the working MA has a period of 12. For the main symbol we draw it as it is.
For other symbols, we find the difference between the MA 12 and 60; this difference multiplied by the coefficient should be added to the MA 60 of the main symbol.
And to clarify? Should the first position be selected from those that are open (in the market) or those that are already closed? What if the first position was opened three years ago? Does it need to be selected?
And what is it all for?
To choose the first one out of the open positions.
It is necessary to check the distance in pips between the first open position and the last open position.
Maybe see what else returns IsTradeAllowed() ?
Please help. I am trying to build a trend according to two points attached to the bars for N bars ahead from the last point. I.e. incoming - time-price of the first and second point, and N expressed in number of bars ahead (checkbox beam = false). If the second point, assume, lies on bar 1 from the current bar 0, and I have to draw from it 10 bars ahead, how can I calculate the time and price of the bar from the future?
Please help.
How do I find out the time High[3]?
Please help.
How do I find out the time High[3]?
Time[3]
Try it:
How to portray:
/
in string?
For example:
string path=TerminalPath()+"/logs/"+tekTime+".log";
gives an error, and if you remove the slash "/"
string path=TerminalPath()+"logs "+tekTime+".log";
- no error.