Let me give you an example of why some Indicators do not work correctly in the Strategy Tester . . . . if you place an Indicator onto a Strategy Tester chart and that Indicator uses Bid it will be the current, 1st Feb 2013, Bid price that it uses . . . not the Bid price shown on the Strategy Tester chart, it's very easy to address this issue, instead of using Bid use Close[0] instead.
Are there other issues like this when trying to use Indicators on Strategy Tester generated chart ? Yes I'm sure there are.
Do I know what all these issues are and how to fix them ? No, I have come across some, you should determine what the issues are with your own Indicator and address then.
I see, is there any way to draw line like indicator does, in EA ?
I see, is there any way to draw line like indicator does, in EA ?
You can use an Indicator . . . but you have to bear in mind that some things in an Indicator will not work on a ST chart . . . find them and fix them, if they can't be fixed then do something different.
RaptorUK: You can use an Indicator . . . but you have to bear in mind that some things in an Indicator will not work on a ST chart . . . find them and fix them, if they can't be fixed then do something different.
I did difrently , as I told you before, when i was using iCustom then indicator was looking on incominng data in EA, but the same attached to the screen saw somehow all information, anyway i am using iCustom and drawing line my self instad of indicato by using ObjectCreate function and now i am sure that values are correct. If i din't notice that, then EA whould show great results, but in real live, there would be pain.
Thanks for your help, i saw you are responding in many posts, probably couse you are moderator, how do you think? is it possible from mathematical point of view, to write EA which will earn constantly ?
Thanks for your help, i saw you are responding in many posts, probably couse you are moderator, how do you think? is it possible from mathematical point of view, to write EA which will earn constantly ?
It was the other way around I think, I was made a Moderator because I made plenty of posts trying to help . . . and because I am here most of the time when I am not sleeping ;-)
If you have a strategy that earns consistently then yes it can of course can be coded, IMO discretion is a word used when a trader cannot describe their strategy, so any strategy that has consistency does not involve any kind of "discretion" so can be coded.
// Indicator in Strategy Tester standalone (attached to chart)
the contents of each section shows what works and what doesn't, for example Bid in the Indicator in Strategy Tester standalone (attached to a chart) section
"Bid/Ask = 1.2983'9/1.2986'7 // error: value taken from online environment"
It's worth adding to this that a Indicator in Strategy Tester standalone (attached to chart) will get the Order information not from the Strategy Tester but from the live terminal it is running on.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Let me give you an example of why some Indicators do not work correctly in the Strategy Tester . . . . if you place an Indicator onto a Strategy Tester chart and that Indicator uses Bid it will be the current, 1st Feb 2013, Bid price that it uses . . . not the Bid price shown on the Strategy Tester chart, it's very easy to address this issue, instead of using Bid use Close[0] instead.
Are there other issues like this when trying to use Indicators on Strategy Tester generated chart ? Yes I'm sure there are.
Do I know what all these issues are and how to fix them ? No, I have come across some, you should determine what the issues are with your own Indicator and address then.
I see, is there any way to draw line like indicator does, in EA ?
I see, is there any way to draw line like indicator does, in EA ?
You can use an Indicator . . . but you have to bear in mind that some things in an Indicator will not work on a ST chart . . . find them and fix them, if they can't be fixed then do something different.
I did difrently , as I told you before, when i was using iCustom then indicator was looking on incominng data in EA, but the same attached to the screen saw somehow all information, anyway i am using iCustom and drawing line my self instad of indicato by using ObjectCreate function and now i am sure that values are correct. If i din't notice that, then EA whould show great results, but in real live, there would be pain.
Thanks for your help, i saw you are responding in many posts, probably couse you are moderator, how do you think? is it possible from mathematical point of view, to write EA which will earn constantly ?
Thanks for your help, i saw you are responding in many posts, probably couse you are moderator, how do you think? is it possible from mathematical point of view, to write EA which will earn constantly ?
It was the other way around I think, I was made a Moderator because I made plenty of posts trying to help . . . and because I am here most of the time when I am not sleeping ;-)
If you have a strategy that earns consistently then yes it can of course can be coded, IMO discretion is a word used when a trader cannot describe their strategy, so any strategy that has consistency does not involve any kind of "discretion" so can be coded.
Let me give you an example of why some Indicators do not work correctly in the Strategy Tester...
Are there other issues like this when trying to use Indicators on Strategy Tester generated chart ? Yes I'm sure there are.
hope that helps
hope that helps
LOL, yes it does, thank you for sharing :-)
sorry i don't understant post above with this experiment, can you describe it in few words?
sorry i don't understant post above with this experiment, can you describe it in few words?
There are 3 sections:
// EA in Strategy Tester
// Indicator in Strategy Tester via iCustom()
// Indicator in Strategy Tester standalone (attached to chart)
the contents of each section shows what works and what doesn't, for example Bid in the Indicator in Strategy Tester standalone (attached to a chart) section
"Bid/Ask = 1.2983'9/1.2986'7 // error: value taken from online environment"
hope that helps