Hi All
Happy 2019 to everyone.
I am a FX and Equities trader from the Sunny UK and recently moved to Aus.
I have decided to move away from my MT4 platform and am using Amibroker. I am a trader not a programmer and having a difficulty to create a back test script.
EMA30 = MA( C,30);
Buy1 = EMA30 < C;
Sell1 = EMA30 > C;
SL_Buy = (H - L);
SL_Sell = (H - L);
TP_Buy = H + (H - L);
TP_Sell = L- (H - L);
BuyPrice = Close;
SellPrice = Close;
Buy = buy1;
Sell = SL_Buy OR TP_Buy;
Short = Sell1;
Cover = SL_Sell OR TP_Sell;
I am trying to create a back test script. I have set my Stop Loss and Take Profit, based on a simple moving average entry. However when i run the backtest function no trade has taken place, I checked the exploration which identifies the entry points.
Any helping hands ?
Regards
Happy 2019 to everyone.
I am a FX and Equities trader from the Sunny UK and recently moved to Aus.
I have decided to move away from my MT4 platform and am using Amibroker. I am a trader not a programmer and having a difficulty to create a back test script.
EMA30 = MA( C,30);
Buy1 = EMA30 < C;
Sell1 = EMA30 > C;
SL_Buy = (H - L);
SL_Sell = (H - L);
TP_Buy = H + (H - L);
TP_Sell = L- (H - L);
BuyPrice = Close;
SellPrice = Close;
Buy = buy1;
Sell = SL_Buy OR TP_Buy;
Short = Sell1;
Cover = SL_Sell OR TP_Sell;
I am trying to create a back test script. I have set my Stop Loss and Take Profit, based on a simple moving average entry. However when i run the backtest function no trade has taken place, I checked the exploration which identifies the entry points.
Any helping hands ?
Regards