75993Hi,Originally Posted by ;
Potential to split the mql file rather? Thank you
75993Hi,Originally Posted by ;
Potential to split the mql file rather? Thank you
93910Although I set a new policy not to post mql source documents for 2016 ahead, I will discuss this one since it's not my system.Originally Posted by ;
Kindly maintain copyrights, do not sell, and discuss any modifiions in the thread.
Here you go ...,
https://www.nigeriaforextrading.com/...2132355690.mq4
93910Hello Abokwaik,
I looked at the code, shouldn't be the opposite?
if(sma_exit==EXIT_ON_CROSS)
{
if(current_order_type()==OP_BUY MarketInfo(Symbol(),MODE_BID)lt;sma) close_current_orders(OP_BUY);
if(current_order_type()==OP_SELL MarketInfo(Symbol(),MODE_BID)gt;sma) close_current_orders(OP_SELL);
TX
93910Abokwaik,
Perhaps you could add a filter to test if price is too far from long MA we do not enter commerce.
Would have avoided a bad trade now short USDCAD....
Tx
S
939101 Structure (s) Abokwaik,
Should the place have been shut on the 3rd candle following entry?
Is there a bug?
Tx
S
93910No bugs. The EA is functioning as per your preferences. You picked MA_PRICE_HIGH_LOW not MA_PRICE_CLOSE.Originally Posted by ;
93910So I think I misunderstood how it functions!!Originally Posted by ;
What is the difference between exit on Quick MA parameter (that can be chosen depart close) and the depart manner parameter,
thanks to your clarifiion.
And nice work again!!
S
93910Just want to be sure that you get the same setup as the original variant on the new edition, had that bug where I noticed two orders which should closed at precisely the exact same time for some pair and just one closed.Originally Posted by ;
Original Entry/Exit
Entrance on Fast MA - Authentic
Entrance on RSI - Authentic
Exit on quick MA - Authentic
Rest false
New variant Entry/Exit
Entrance on Fast MA - Authentic
Entrance on RSI - Authentic
Exit on Fast MA - Exit_ON_Close
Exit Modes (Close, High/Low) - MA_Price_Close - Dont understand this one as already specified near the option before?
Rest false
Could this be the same settings vs the older system?