[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 312
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
The new knowledge gained, despite the personal time spent, is the most valuable prize.
The best investment is an investment in knowledge/skills.
Good afternoon everyone, I have this little question: how correct is it to pass the inverse value of a logical variable to a user function? For example:
bool X;
.........
MyFunction(!X);
Good afternoon everyone, I have this little question: how correct is it to pass the inverse value of a logical variable to a user function? For example:
bool X;
.........
MyFunction(!X);
This is normal.
Thank you!
Afternoon All, there is a MA_In_Color_wAppliedPrice indicator, how do I get the signal out of there when the colour changes?-------------------------------------------------+
Afternoon All, there is a MA_In_Color_wAppliedPrice indicator, how do I get the signal out of there when the colour changes?-------------------------------------------------+
Each indicator colour corresponds to its own buffer. Poll the data of each buffer in the EA. If a non-empty value (! EMPTY_VALUE) appears in one of the buffers, it tells about the appearance of a line of the corresponding colour (or not - I don't see what it draws there)
100% agree. When will you start writing? As you write, I'll give you more prize ideas. Or just look at a branch of Yusufhoja - there are a ton of prizes. Invest in their knowledge and skills.
1. neural network training is of interest. I'm waiting for an idea.
2. In leafing through the topics, I noticed that Yusufhoja is one of the most "prolific" topic generators here. Which of his topics should I look into?
Please suggest the code below to read the log file. Automatically reads the current log file by date and outputs it to the printer.
Where:
The file is being assembled from parts. But I don't need the whole file, just the last line. Help to correct, please.
I have noticed one specific feature of the terminal. Since the order profit calculation does not consider the OrderSwap(), I want it to close the order at once.
I.e. we have to use the following formula to close the order with a profit:
(OrderProfit()+OrderSwap()+OrderCommission())>0
I've never worked with commission and commission is not used on demo, that's why I can't check it on account.
Are my calculations correct?