You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Trailing Stop on Short EMA ??
Hi All,
I was testing the EMA_Cross_6 version .
I wanted to do this adjustment if it is possible! The stop loss to be lets say 5 pips below/above the shortEMA as per buy or sell. How to put this in the EA?
thx for your help.Am I understanding this correctly ? would this be like a trailing stop on the short EMA ?
Migrane.
I just noticed while looking at your code that for the Cross_2 you were doing the EMAs on the current bar and for Cross_6 you are doing them 1 bar back ? Any reason for this ?!?
Cross_2
SEma = iMA(NULL,0,ShortEma,0,MODE_EMA,PRICE_CLOSE,0);
LEma = iMA(NULL,0,LongEma,0,MODE_EMA,PRICE_CLOSE,0);
Cross_6
SEma = iMA(NULL,0,ShortEma,0,MODE_EMA,PRICE_CLOSE,1);
LEma = iMA(NULL,0,LongEma,0,MODE_EMA,PRICE_CLOSE,1);
MigraneWhen you test your EA in MST it's better to use 0 bar (the current bar).
But in the forward and Live mode it's recommended to use 1 bar (Previous completed bar).
Emac7
Do you still believe in Stragey Tester??
I do!
Try out MoneyMaker (EMAC7).
EMAC_HEDGED statement update!
Check out the statement so far!
Note: Attached modified version of the EA!
Do you still believe in Stragey Tester??
I do!
Try out MoneyMaker (EMAC7).So besides doing EMA at 4 and 24 and your code getting a bit more "streamlined" has anything else changed ?! I cant really tell
Migrane.
So besides doing EMA at 4 and 24 and your code getting a bit more "streamlined" has anything else changed ?! I cant really tell Migrane.
It makes grid of pending orders at the Level , Step and Size you want.
Level: What the price level from the current price or last pending order you want to open the position.
Step: The pips between the orders.
Size: The number of orders for every currency.
Am I understanding this correctly ? would this be like a trailing stop on the short EMA ? Migrane.
hi, exactly that is what I want, any helpers?
hi, exactly that is what I want, any helpers?
I could give it a try but would you explain please how that would help ?!
Migrane
I am getting totally opposite results on my backtest of same EA here why??
Do you still believe in Stragey Tester??
I do!
Try out MoneyMaker (EMAC7).Hi ,
I tried with some ver of EMA cross on backtesting but i am getting totally opposite results here . I used Alpari data and platform for back testing. I attached Moneymaker Backtest result on 1hr Eurusd applied with default settings even with other EMA crosses i get totally opposite and -ve results am i missing something pls advice
Hi Amarnath
I see you often use the term +ve or -ve. What does it mean, would you mind telling me?
Eric