[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 27
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
Yes, thank you very much for the great clarifications. I have implemented optimization in all TFs. I will let me know the results after optimization+testing on different segments.
You asked about the possibility to programmatically enumerate and optimize the possible TFs to get their indicator values in the Expert Advisor. This is possible in the following way - for example
Here are some code snippets from the Expert Advisor in the file where this operation is performed - everything is described there with comments.
May someone else find it useful.
Please advise! How to make, let's say, a new bar opened in hourly timeframe (H1) and the time is counted for about 50 minutes in this bar, after 50 minutes there will be a signal. I heard about Sleep.
Please advise! How to make, let's say, a new bar opened in hourly timeframe (H1) and the time is counted for about 50 minutes in this bar, after 50 minutes there will be a signal. I heard about Sleep.
I have a strange thing - the custom indicator on the chart and inside the EA gives completely different numbers. The indicator is MQL analogue of LinearReg from MetaStock. It is written as follows
When it is attached to a chart it shows exactly the same results as MetaStock has. But as soon as it is attached to a trading Expert Advisor, its value is higher than 1.4 (at its indicator_chart_window property) at EURUSD, where the quotes are around 1.29. Naturally, the reproduced trading systems for MetaStock cannot work, it turns out that they always hold the same position. If I click on the EA results the line of this indicator remains far away but if I simply recompile it, the chart immediately becomes correct as in MetaStock. I can't figure out why there is such a difference.Hello, dear experts!
I would like to ask for your help! I want to try to make my first Expert Advisor, with tasks ...
1-Pips
2-М5
3-Can set stop and takeaway parameters.
4 - Instead of takeoffs it would be possible (optional) to include position reversal every time this level is reached
To stop it manually, by hot keys, let's say.
5 - Absolutely no indukes.
So that's it. I hope I have not downloaded.
Actually I need at least some sources nitsy, or layout, well, that would not be very complicated I am so acrome scripts did not do anything, and that is, tokmo ready remade mostly for himself.
I hope for your help
Hello, you guys!
I would like to ask for your help! I want to try to make my first Expert Advisor, with tasks ...
1-Pips
2-М5
3-Can set stop and takeaway parameters.
4 - Instead of takeoffs it would be possible (optional) to include position reversal every time this level is reached
To stop it manually, by hot keys, let's say.
5 - Absolutely no indukes.
So that's it. I hope I have not downloaded.
Actually I need at least some sources nitsy, or layout, well, that would not be very complicated I am so acrome scripts did not do anything, and that is, tokmo ready remade mostly for himself.
I hope for your help
I want to ask for your help!
I have a weird thing
try to visually compare some simple indicator and data which the Expert Advisor receives via iCustom() from this indicator. I think MovingAverage is a good indicator for experiments
you must be using iCustom() function incorrectly
If anyone works at instaforex mt4, maybe they have encountered a problem:
They have four digits on the demo, five digits on the real, but very strange - bid and ask are rounded to four digits.
here is such a code:
i have a feeling that i dont know what to do with it. it gives out SL&TP when i open a position then 300pts, then 3000pts as if i'm trying to figure out what the Digits are each time i get a new one.
May somebody suggest how to solve this issue and has anybody faced similar situations or it is just me?