how to dynamical resize the HeiKen Ashi width?

Back to topics list To post a new topic, please log in or register
avatar
2
abcg5 2015.11.07 05:01
 

when i use the HeiKen Ashi indicator will be normal in the default windows.

like the following.

  default

 But Heiken Ashi won't map the k-bar width because the indicator width is fixed to 3. as following.

 

because the code is

   SetIndexStyle(0,DRAW_HISTOGRAM,0,1,ExtColor1);

   SetIndexBuffer(0,ExtLowHighBuffer);

   SetIndexStyle(1,DRAW_HISTOGRAM,0,1,ExtColor2);

   SetIndexBuffer(1,ExtHighLowBuffer);

   SetIndexStyle(2,DRAW_HISTOGRAM,0,3,ExtColor3);

   SetIndexBuffer(2,ExtOpenBuffer);

   SetIndexStyle(3,DRAW_HISTOGRAM,0,3,ExtColor4);

   SetIndexBuffer(3,ExtCloseBuffer); 


It will casue my illusion.  So there are any methods to refix it following the zoom in/out. 

Back to topics list  

To add comments, please log in or register