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
?? Orderentry by crossover MA[displace] ??
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: ?? Orderentry by crossover MA[displace] ??
If the logic works in an indicator,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
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] ??
This is a lesson I have learned from your posts in this forum.
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.
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
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: ?? Orderentry by crossover MA[displace] ??
I am not a programmer either, I just read the manual.This is a lesson I have learned from your posts in this forum.
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.
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
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.