[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 508
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
int iHighest( string symbol, int timeframe, int type, int count=WHOLE_ARRAY, int start=0)
Returns the index of the highest value found (offset relative to the current bar).What could be unclear to a person - I don't know. Neither do I know what caused the aggression and boorishness (they could have just ignored it), whether others would have responded or whether he would have recovered himself - is it all the same to you?
Here they are (there are much more errors in your code but these ones won't even make it through the compiler): Moreover, even if you change the code to something more sane from the compiler's point of view
it will still be theoretically wrong without first normalising the real values before the comparison. Moreover, normalization may fail if price changes by more than one pip in one tick and your condition is missed.
The correct way to search for the crossing condition is
P.S. It is quite easy to find the place with the error after compilation in MetaTrader:
1. In the "Toolbox" tab, in the "File" column, specify the line number and the number of the symbol, in which the compiler has detected an error, separated by commas.
2. If you double-click on the error message in the "Description" field of the same tab, the cursor of the editor will jump to the place where the compiler has detected this very error.
Thanks for the tips.
Good afternoon! Respect to all forum members! If you can, please advise - when you turn off the platform data from the magazine is necessarily erased, right? And how do you write prints or any other output data from the Expert Advisor, so that when you turn off the computer, they would be saved in a notepad, or somewhere else? Isn't it too complicated and is it possible?
Tell me how to calculate a possible loss in the currency of the deposit with the opening price of the order and the stop loss price.
This trader's fi- fion from the textbook was reworked by me for my own needs. Here, the calculation of profit on a given volume of lots, at the trawl level and the value of the profit above the total loss of previous closed consecutive losing positions - the trawl is enabled - you will have everything similar, only to apply not a profit, as here, but a loss - as you need.
Pay attention to the calculation of Buy and Sell variables:
Do everything in the same way and that's it.So I still don't understand how to find out the point value in the deposit currency?
see this calculation - do ANALOGUE. Everything.