Help for a ScalpingDax EA whit BB

To add comments, please log in or register
texoro
160
texoro  

I can't write the service with the shadow of heiken ashi can someone help me write it?

{
         double LowerBB =iBands(Symbol(),timeframe,PeriodBollBand,devBollBand,0,0,MODE_LOWER,1);
         double UpperBB =iBands(Symbol(),timeframe,PeriodBollBand,devBollBand,0,0,MODE_UPPER,1);
         
         if ((High[0] + xpip)>UpperBB){
            OpenSell(lotSize,nMagic,3.0);
            Comment("Sell");
            }
         
         if ((Low[0] - xpip)< LowerBB){
               OpenBuy(lotSize,nMagic,3.0);
               Comment("Buy");
               }
          }


Keith Watford
Moderator
13272
Keith Watford  
If you want to use the shadows of the HA candle, then you should be using iCustom() with the HA indicator.
To add comments, please log in or register