I am new so forgive my ignorance...
I wrote an EFS using the Wizard.
I put my alert in "First time this happens" and it gives the alert on one bar and wont alert anymore on future bars.
So I put the alert in "everytime this happens" and I get it on all of the appropriate bars. However, as a result, I also get it repeatedly intra-bar. FOR 30min STRAIGHT.
How do I get the alert to know that the first time does not mean the only time?
If you need me to send you my code, ask and I will private email it.
But, in a nutshell it is, "if this close() is > that close(-1) then, "doalertaddtolistplaysounddrawshape,etc". All action lines listed in the first time it happens section.
As I type I think that I could use do srategy doLong/Short then setStop @ the same close() so that it thinks that a full trade occured, but then for 30 mins it will still continue to realert me.
The problem is that the trial and error has to occur during live trading so that the EFS receives live signal. During market hours, however I cannot trial and error with this EFS. (Hence my afterhours posts.)
Thanks for listening and offering your assistance.
I wrote an EFS using the Wizard.
I put my alert in "First time this happens" and it gives the alert on one bar and wont alert anymore on future bars.
So I put the alert in "everytime this happens" and I get it on all of the appropriate bars. However, as a result, I also get it repeatedly intra-bar. FOR 30min STRAIGHT.
How do I get the alert to know that the first time does not mean the only time?
If you need me to send you my code, ask and I will private email it.
But, in a nutshell it is, "if this close() is > that close(-1) then, "doalertaddtolistplaysounddrawshape,etc". All action lines listed in the first time it happens section.
As I type I think that I could use do srategy doLong/Short then setStop @ the same close() so that it thinks that a full trade occured, but then for 30 mins it will still continue to realert me.
The problem is that the trial and error has to occur during live trading so that the EFS receives live signal. During market hours, however I cannot trial and error with this EFS. (Hence my afterhours posts.)
Thanks for listening and offering your assistance.
Comment