Codes

EA_MA_Email for MetaTrader 4

A simple EA that sends e-mail alert whenever there is moving average crossover

EA_Email - send an e-mail on your account details every xx minutes for MetaTrader 4

This EA will send an e-mail about your account details every xx minutes

EA Moving Average_Money for MetaTrader 4

I have programmed an EA using Moving Average (from mt4 default Moving Average.mq4) to decide open buy/sell combine with StopLoss using the Money Management

Forum

Need help check this EA what is the problem

Hi all experts here, need your help I created an EA based on price volatility. It will buy/sell if price jump up/down suddenly. When I compile, no error but when I test in Strategy Tester , it fails to open any buy/sell order, it gives error 0 in error message below is the code you are welcome to

any website offers free analysis of the EA trading results?

Hi all, Does anyone knows any website that offers free analysis of the forex EA trading results? Eg maximum risk, maximum margin used, in a graphical or table format. previously I saw there is such website but I forgot bookmark it. And now I fail to google search it

Trailing Stop moves in up down direction, need help check what is the error.

for (cnt= 0 ;cnt<total;cnt++) { //set trailing stop if ( OrderType () == OP_BUY) { if ((Bid - OrderOpenPrice ()) > TrailingStop* Point ) { if ( OrderStopLoss () < (Bid - TrailingStop* Point ) ) { OrderModify ( OrderTicket

does anyone have seen this function/EA before ? - E-mail alert if the price breaks the support and resistance

Hi all, I understand need to use the search function before posting here. I searched "support and resistance" and didn't find topic matched to my question. Does any in this forum saw this post before ? "E-mail alert if the price breaks the support and resistance" Some of you might say it is better

I am chooing entry based on MA crossover, do you have suggestion for the exit ?

Hi all, I feel it is a good strategy to enter/open order using Moving Average Crossover (MA20,MA50,MA100,MA200 ). However, i don't think it is a good strategy to exit by Moving Average Crossover Any of you have a better idea for the exit strategy ? using TP and SL ? using MACD crossover ? How about

Why my EA will send so many same e-mail ?

HI, I composed a simple EA to send e-mail alert on MA crossover. However, instead of one e-mail, it sends out many e-mail. HEre is the snapshot. I put the EA in H1 chart Here is the source code . Hope you all can help find out what is the root cause

How can I set the EA to know the chart timeframe

Hi all, I am writing a simple EA to email alert me when there is moving average crossover. eg SendMail ( Symbol () + " 20>50" , "Date and Time : " +TimeToStr( TimeCurrent (),TIME_DATE|TIME_SECONDS)+ " \n" + "Currency : " + Symbol () + "" ); I would like to know how do I add code , so that I