Signal IntraBar

To add comments, please log in or register
Ziklag
29
Ziklag  

Hello,

How do I modify the Moving Average 

   if(rt[0].open<ma[0] && rt[0].close>ma[0])
         signal=ORDER_TYPE_BUY;  // buy conditions
 to signal IntraBar instead of on close? Thank you.
To add comments, please log in or register