Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

Can anyone code an ea using any good indicator. My strategy is "when a new candle is open it doesn't open a trade at once but a pending trade and just keeps riding with the candle".If the candle opens in a buy,the robot would place a pending buy but if it goes down to a sell,the pending buy changes to pending sell with tp of 3pips adjusting to the different order type.Backtest won't work on this robot.

Second idea:Use MA indicator to create an ea of simple parameters but thoughtful entry. double diClose0=iClose(NULL,5,0); double diMA1=iMA(NULL,5,7,0,MODE_SMA,PRICE_OPEN,0); double diClose2=iClose(NULL,5,0); double diMA3=iMA(NULL,5,6,0,MODE_SMA,PRICE_OPEN,0);

if ((diClose0<diMA1)){ OpenSell(); return(0); } if ((diClose2>diMA3)){ OpenBuy(); return(0); }.

Takeprofit=3(according to symbol spread)

stoploss=0(adjustable)

lot=0.01

trailingstop=0(adjustable)

tradingstart=21:00

tradingstop=10:00

If you have any idea that would benefit us both,it is welcome(two heads better than one). Thanks in advance.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...