
03-07-2009, 02:13 PM
|
 |
Senior Member
|
|
Join Date: Nov 2006
Location: Montréal
Posts: 1,451
|
|
Quote:
Originally Posted by davidw1000
Hello,
I have an EA that is not yet complete. I have no programming skills & need some help. I had someone working on it but they have since vanished. It is working pretty good but still has some issues & I would like to add some features such as TakeProfit, StopLoss, BreakEven + X Number Of pips, TrailingStop & Trading Hours.
Im not sure if it is wise to post the code on here or not, since it will/can be easily taken & used. Im willing to pay a reasonable amount if I have to. The EA itself is almost finished so it is not from scratch.
Please advise on what I should do.
Thank You,
David
|
This is the code for hidden SL and TP as for open hours its simple
Code:
extern int StartH = 2;
extern int EndH= 16;
if((ScanTrades()==0) && Hour()<StartH && Hour()>EndH)) return(0);
|