Page 1 of 1

?? Orderentry by crossover MA[displace] ??

Posted: 23 Jul 2012
by aiti
Hello Programmers,

I want to build a strategy with orderentry if close crossing SMA[-3].
For visual testing at the chart there is no Problem by plotting the SMA with displace.
But is there a possibility to build this in the code of a strategy?

Thanks for any answer

aiti

Re: ?? Orderentry by crossover MA[displace] ??

Posted: 23 Jul 2012
by TJ
Hello Programmers,

I want to build a strategy with orderentry if close crossing SMA[-3].
For visual testing at the chart there is no Problem by plotting the SMA with displace.
But is there a possibility to build this in the code of a strategy?

Thanks for any answer

aiti
If the logic works in an indicator,
the logic will work in a strategy.

If you can code it in an indicator,
you can code it in a strategy.

Re: ?? Orderentry by crossover MA[displace] ??

Posted: 23 Jul 2012
by aiti

If the logic works in an indicator,
the logic will work in a strategy.

If you can code it in an indicator,
you can code it in a strategy.
This is a lesson I have learned from your posts in this forum.

But I didnot find a way to code a "-3 displace" in the value of the SMA.

I am not a programmer, i am only an easylanguage user. ;-)

aiti :-)

Re: ?? Orderentry by crossover MA[displace] ??

Posted: 23 Jul 2012
by TJ

If the logic works in an indicator,
the logic will work in a strategy.

If you can code it in an indicator,
you can code it in a strategy.
This is a lesson I have learned from your posts in this forum.

But I didnot find a way to code a "-3 displace" in the value of the SMA.

I am not a programmer, i am only an easylanguage user. ;-)

aiti :-)
I am not a programmer either, I just read the manual.

If you have lots of trading ideas that you want to try out,
I would suggest you to start with the EasyLanguage ebooks.
There are lots of examples you can use and adapt.