how to close trade using my own indicator
-
@fxdreema Hello!! I am having so much trouble with making my EA I have the same problem, I am doing a very simple moving average cross EA for mt4, I want to buy when it crosses over and close the buy when it crosses again and then sell ect, when I run this I get a critical error zero divide, please please please help me find a way to get this working I have been trying to code this in mql4 from scratch then gave up and found fxdreema and I love this idea but similar problems, I would be so thankful if you could help me thank you so much!!!!!
Brian
-
Sir
I first thank U for Ur kind service.I uploaded one indicator and made one EA using its levels
to trade.But I could not do how to close trade using that indicator instead of stop loss.
When indicator changes its direction I wish to close that order using that indicator and start opposite
trade according to changed indicator direction.
Sir I request you to help me in this regard for which I shall be ever grateful to U.
I give here indicator download area
https://www.mql5.com/en/code/8032
indicator also I gave condition as follows:
indicator value>10 SELL
indicator value<10 BUY
time frame:H1 -
So the real question is "How to detect when this indicator changes it's direction". This one looks to me like PSAR and here is some example https://fxdreema.com/demo/mt4-psar-reversals
-
Hello
I need actual change as follows
When red line is above the candle, SELLWhen red line is below the candle, BUY
if one trade buy is there and indicator line changed to above the H1 candle then this BUY must be
stopped and SELL must be opened-how to write this
please explain step wise.thank U -
Ok, in another words: http://prntscr.com/6io1tr
-
Could you please create a new thread for your request? Retaking this old one is not useful.
