Which pair, what trading hours?
> new daily candle open
Which timezone?
Dear BarrowBoy .... Thanks for reply
this idea it's not for specific pair ...... i think it is better to be public
about trading hours i guess we can put it open,, but you can put start on = ? and stop on = ? ==> ?= "extern int" it will be better
new daily candle open ... that is mean whan i get my target then deactivate trading to the next day then active.
there is no time Zone ....
thanks in advance ...
yours ... Amjad
A
Something like this OTTOMH
static int TradeFinishedForDay; init() { TradeFinishedForDay = DayOfYear()-1; } start() { if (TradeFinishedForDay < DayOfYear()) // Carry on and trade else return(0); // Stop execution here // When finished trading for the day TradeFinishedForDay = DayOfYear(); }
Obviously this would need a restart over New Year, but most EA's will be off then anyway!
Good Luck
-BB-
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear All ... Good Evening
I have one of profitable and easy strategy but we need to convert it to expert ... could any one help ?
Expert properties :
1- one Moving Average ie: 30, 50, " extern int "
2- Pips => " extern int "
3- if we can add MM to the expert it will be great ... lots =( 5% of account balance * leverage ) ... ==> " extern int " ==> True / false
4- when the Price close above the MA = Buy =&= when the the price close below the MA the expert will close the Buy and go sell
5- Main IDEA =
A= account Balance @ 0:00 hours
Target = A + (lots * Pips) ==> 1000 us$ + ( 1 * 50 Pips)If current equity = Target … close the trade then don't open any trade till new daily candle open
Best Regards
Amjad