by foreveryoung » Mon Jan 30, 2017 8:16 am
Well, I started a demo account, the coding is finally not doing what the strategy is, since it opened @ 14:00 L.T. a long order with EUR/USD, while MACD histogram (MACD time frame set @ 1 hour) has been declining. The triggering of order from stochastic works (stochastic time frame set @ 5 minutes), however, the histogram condition (i.e. histogram rising or declining) is not. Actually, what it seems to be doing is, every time there is a new candle in the MACD time frame (i.e. every one hour in my test above), and stochastic K is OS/OB in its time frame, then go long/short respectively