HappyNewYear2017 - Trading Logic - Using BBands with MA type DEMA and
Time Period 20 in conjunction with DEMA(200). Another DEMA(22) with
shift 0, 1 and 2 is being added for the latest version. If DEMA(22)
shift 0 is greater than DEMA(22) shift 1 is greater than DEMA(22)
shift 2 is greater than DEMA(200) and last tick bid is lower than
DEMA(22) shift 0 a Buy Order is placed. If DEMA(22) shift 0 is less
than DEMA(22) shift 1 is less than DEMA(22) shift 2 is less than
DEMA(200) and last tick bid is greater than DEMA(22) shift 0 then
Sell Order is Placed.
Instrument - EURUSD , SL 11 TP 99 TradeAmount = Equity / 10000.
Candle Period 10 mins.
After checking for the Candle Instrument and Candle Time Period which
has to be EURUSD and 10 minutes respectively Indicators are called
DEMA(200) and BBANDS with MA type DEMA(20). Also DEMA(22) with shift
0, 1 and 2 added
A Time variable is also used to get the time in hours.
If the DEMA(22) is above the DEMA(200) line a Long trade would be
placed and if its below then a Short trade would be placed according
to the above explained trading logic. So the DEMA(200) helps in
identifying the direction of the trade and DEMA(22) help in the
Entry
level.
Exit Plan - A trade can be closed under the following conditions : -
1) For Profit less than equal to 49 pips A Long trade would be closed
if last bid candle high is greater than upper band and A Short trade
would be closed if last bid candle low is less than lower band.
2) For profit greater than equal to 29 pips a Custom trailing Stop
with trailing step 1 and SL 11 is triggered.
3) If time in hours is less than 1 and Profit is greater than equal
to
1 pips trade will be closed.