Guys kindly check this code and let me know why it is not working on a GJ chart sma3.mq4 my idea which i am working on is to compare uptrend of sma3 of GBPUSD and uptrend of sma3 of another pair Guide
if (OrdersTotal() < 1) { if (Bid > ret0 + 15 * Point && Ask < retp18) { stoplevel = ret0 - 2 * Point; OrderSend(Symbol(), OP_BUY, lotused, Ask, 3, stoplevel, 0, 0, 0, Green); } } ret0 is a price value given as an extern variable retp18 is
ArrayCopyRates(rates, Symbol(), PERIOD_D1); will return rates of the previous day, but on a Monday this will be useless. How do i force it to use the last trading day of the previous week
First thing first, I am back to active trading after long breaks starting from January 2007 due to ill health and later bed sores. I have multiple sclerosis and that does trouble off and on. Anyways, our topic of discussion here is trading usd/jpy
I need a few people to test this indicator on MT4 and analyze it using any method of your choice as to whether the targets given are accurate and achievable ??? Second you need to post your results here. The code of the indicator is of 1 line only
MT4 does not allow trailing stop less than 15 pips. And I need an EA in which we enter the order id, and it follows it with a trailing SL of our choice even if it is 1 pip, with deviation set to 0 The idea is to scalp
I wish to design an EA with trailing stop loss feature. It will not open any trades, but just locate manually opened trades and trail the stop loss as specified. Suggest
This code int TOrders = OrdersTotal(); Alert("TOrders " + TOrders); opens 5 alerts for 6 open orders, whereas the requirement is for just 1 alert. What am I doing wrong here ? Okay when I press compile it opens 5 alerts, but when I move between
I need someone to program an indicator for me, I will provide the logic to be used, the person has to just code it. Better still if you can provide an IDE for writing indicators that would be best. Thanks in Advance