Download MetaTrader 5
To add comments, please log in or register
Find out the most discussed Forum topics. Have a look at the Wall section!
aaron
6
aaron 2015.11.07 04: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. 

/
To add comments, please log in or register