Hi Guys, My first post here So please have some Mercy.
First of all I new at MQ4 and have nerver programed any C+. The only kind of program I wrote was back in 1995 when they use Qbasic. So I need Major Help!!.
I am modifying this Moving average EA that came with MT4. I am using this 50day simple movign average on a 15 min chart . This program will close the trade and Stop Lost when the market moves opposite of the trade and open a new candle (above or below) 50 days moving average. I like to Tweak this baby a little bit and learn the language as I go along. And I need your helps.
I like to add 1 of the following following features if possible.
1) A 30 pips profit lock-in --if the market moves in favor of the entry and if possible some short of trailing stop (does not have to have this trailing stop)
2) If the market move opposite of your entry ( when you long and the marker moves down below the moving average and open a new candle), I like to change the option of closing the trade to (buy or sell) 2 times the initial amount entered ino the trade.
Please give me a little hand. I really aprreciated it
Vodanh
First of all I new at MQ4 and have nerver programed any C+. The only kind of program I wrote was back in 1995 when they use Qbasic. So I need Major Help!!.
I am modifying this Moving average EA that came with MT4. I am using this 50day simple movign average on a 15 min chart . This program will close the trade and Stop Lost when the market moves opposite of the trade and open a new candle (above or below) 50 days moving average. I like to Tweak this baby a little bit and learn the language as I go along. And I need your helps.
I like to add 1 of the following following features if possible.
1) A 30 pips profit lock-in --if the market moves in favor of the entry and if possible some short of trailing stop (does not have to have this trailing stop)
2) If the market move opposite of your entry ( when you long and the marker moves down below the moving average and open a new candle), I like to change the option of closing the trade to (buy or sell) 2 times the initial amount entered ino the trade.
Please give me a little hand. I really aprreciated it
Vodanh