I came up with an simple system and I have been unable to figure out how to program it into an EA. The trading system simply follows a few simple rules:
1)open a long position when a bull candle closes
2)open a short position when a bear candle closes
3)Close all long positions when a user defined stoploss or profit target is hit
4)Close all short positions when a user defined stoploss or profit target is hit
It would also require user defined lot size and be able to trade microlots.
I would like the user defined variable default values set at:
lots=.01
stoploss= 25 pips
profit_goal= 100
I believe that this would be a simple program for someone that knows how to program EA's and I would appreciate any help you can offer.
1)open a long position when a bull candle closes
2)open a short position when a bear candle closes
3)Close all long positions when a user defined stoploss or profit target is hit
4)Close all short positions when a user defined stoploss or profit target is hit
It would also require user defined lot size and be able to trade microlots.
I would like the user defined variable default values set at:
lots=.01
stoploss= 25 pips
profit_goal= 100
I believe that this would be a simple program for someone that knows how to program EA's and I would appreciate any help you can offer.