
Originally Posted by
EvertonHarding
1. Filter bad trades by closing trade when a candle closes above a EMA 3 on the 15 chart. Can you check to see if I have done this correctly?
You have forgotten the parenthesis here :
if( (SARCurrent<Bid && SARPrevious>Bid) ||(Close[1] > Filter))
Note that it will generate some conflicts.

Originally Posted by
EvertonHarding
2. Add a stepped profit to lock in pips.
Trade up 15 pips move SL to in lock 3 pips, up 25 lock 10, up 30 lock 15, or something like that. User should be able to adjust values for best profit.
I suggest you to create a function for this :
Code:
void ModSL(double ldSL){bool fm;fm=OrderModify(OrderTicket(),OrderOpenPrice(),ldSL,OrderTakeProfit(),0,CLR_NONE);}
then to create the conditions, if ((Bid-OrderOpenPrice())>=X*Point)ModSL(Bid-(X-Y)*Point);
Etc...

Originally Posted by
EvertonHarding
3. Have setting to limit amount of trades it opens when conditions are met. I noticed it opens several trades during candle open, especially if trailing stop is a low value (around 9). It would hit TS and then open another trade because candle is still not formed and trade conditions are still met.
See here to limit the number of trades : http://www.tradingsystemforex.com/mq...each-tick.html

Originally Posted by
EvertonHarding
4. Add a method to close trade after X number of candles. The idea on this is if trade is open it should go into profit fairly quickly (within 5 bars) on a lower time frame. If it does not then it usually reverses so we should close quickly.
You have to study the datetime, when an order is generated you set a value to a datetime parameter. For example.
datetime dateorder;
...
OrderSend(....);dateorder=CurTime();
if((CurTime()-dateorder)>=X)OrderClose(..);

Originally Posted by
EvertonHarding
5. Be able to trade by tick mode or by closed candle mode.
See the trenchaser supernova code for that.