Hello, Greetings to you. I have one Question or Request.
I´ve already a few experience in programming but i don´t know how to programm something in the Tradingstation and about the programming language.
I´ve written a plan what the Strategy have to do: Some Settings i want to do;
Trading settings
Settings of the EMA´s
Trading Time Settings(no must be, but it would be genius)
It´s nealy the same like the standard MA_Advisor which comes with the program of the FX Trading station.
EMA1 is the short time line
EMA2 is the long time line
But i want something like this: The Strategy should check this programm at the end of each candlebox
Short positions
If there is no position open then:
If EMA1 < EMA 2
then go short and set Trailing Stop(dynamic)
exit
If EMA1 >= EMA 2
then go long and set Trailing Stop(dynamic)
exit
exit
'for the next candle boxes'
If there is a short postion
then If EMA1 > EMA2
then exit short position and open long Position
exit
exit
if there is a long postion
then IF EMA1 < EMA2
then exit long position and open short Position
exit
exit
END
I know that this programm will make a lot of trades, But at another backtest, i saw that this strategy would be very profitable.
I hope someone will help me to programm this strategy.
Thank you very much for your help.