Indicators: Indicator for monitoring the lot and profit

 

Indicator for monitoring the lot and profit:

The indicator displays the total lot and profit for the current instrument.

Author: Vladimir Khlystov

 

Hi, the indicator looks really good, but it doesn't on my MT4, I checked the code and found something happened there, please check the image and help, thanks!  

 
cdmax:

Hi, the indicator looks really good, but it doesn't on my MT4, I checked the code and found something happened there, please check the image and help, thanks!  

Replace lines 58 and 59 with this :

   DrawLABEL("cm buy Lot"     ,StringConcatenate("Buy " ,DoubleToStr(LotB,2)," lots"),100,20,LotB>0?clrGreen:clrGray);
   DrawLABEL("cm sell Lot"    ,StringConcatenate("Sell ",DoubleToStr(LotS,2)," lots"),100,35,LotS>0?clrGreen:clrGray);
 
works good, thanks!
 
Olá, existe este mesmo para usar não MT5? !!
 
cdmax:

Hi, the indicator looks really good, but it doesn't on my MT4, I checked the code and found something happened there, please check the image and help, thanks!  

lot
 
have for MT5?
 
Works Great, Just replace 2 lines f code as suggested. Thanks !