Anil Varma
Anil Varma
Anil Varma
Added topic Jupyter Notebook connection to MT5
Hi Folks I have just installed Python to run along with MT5. I am able to connect MT5 from Python, however when I try to connect Jupyter Notebook I get the name error (screen shot attached). Any clues what is wrong? ... Is the following information
Anil Varma
Added topic Is there any function to calculate Standard Deviation in MQL5
Dear All Is there any function available in MQL5 to calculate ' standard deviation '? I could not find one in MathFunctions list. For some reason, I will not prefer to use iStd indicator. regards
Anil Varma
Added topic command check error !!!
Dear Members Any clue what is 'command check error'? Below is extract from log file.  CS       0        19 : 25 : 09.994     Trade   2023.02 . 10 17 : 15
Anil Varma
Added topic why bars not shown correctly in chart
Dear Members I have a situation where most recent bars are showing very high amplitude and hence distorting the bars display on the chart. Screenshot attached. This has happened from yesterday only when I tried to download M1 history data from
Anil Varma
Added topic Compilation error while trying new approach to use CLASS(s) for a multi symbol Expert
Dear Fellow Members I am trying to use, possibly a new approach with classes to create a multi symbol expert advisor. The main logic of it is explained below: The ArunFX.mq5, the expert will have different parameters and create instances of
Anil Varma
Added topic Error Array out of range in an custom indicator
Dear Members  I have failed to identify the cause ' array out of range ' error in my custom indicator code as below: I understand that custom indicators handle the array sizing on it own, and hence did not attempted to set the size.   
Anil Varma
Added topic Why StopLoss hit was triggered, yet the price never touched that limit ?
Dear Members I am running a strategy in Tester and come across a situation where the stop loss hit was triggered and yet the price never reached that price level. The attached screen shot will explain it better. Any clues why this is happening
Anil Varma
Added topic Strategy Test become drastically slow (Visual Mode) after adding this indicator class to my strategy
Hello Friends I have created CiZigZag.mqh indicator class to get Major/Minor High/Low values. However after adding this class to my strategy, the tester speed has drastically reduced. Now even after I have removed this class, the tester has not
Anil Varma
Added topic Stack overflow Error ... without info on which section of code is causing this
Dear All I have recently started getting  Stack overflow error but there is nothing to tell which code is causing this. How can I find the source is this problem. I have understood that this is caused by recursive loop. But unable to trace which
Anil Varma
Added topic How can I avoid drawing line from Long to Short Change in Super Trend Indicator
Hi All I have created custom iSuperTrend and want to remove the line which is drawn when trend changes. The attached screenshot will explain it better.      PlotIndexSetString (_BufferSuperTrend, PLOT_LABEL , "ST Fast (" +
Anil Varma
Added topic Data Window ... Can we have separate decimal values for different buffers ?
Hi I have Bollinger Bands indicator, which shows prices as 0.10 decimal point. However, I have calculated and want to display Normalized BB with 5 decimal points. Is there any way to it. The attached screen shot will explain it better
Anil Varma
Added topic Error using multiple instance of a class with different time frames.
Dear Members Wish all of you happy weekend. I have created CDivergence CLASS to calculate divergence and trying to use multiple instances of it to get divergence on different time frames. The challenge I am facing is that it return only last time
Anil Varma
Added topic how to "break" from two nested for ... if loop
Dear Members I have created a nested for loop shown in below in code section. I want to exit (break) when variable idxFB = j is found. Currently it do break of inner loop on satisfying the condition but then goes to first outer loop and loop again
Anil Varma
Added topic Help me with correct use of Switch-Case Operator
Happy Weekend I am trying to use "switch-case" operator and have following issue. I have defined timeFrames locally as ENUM_TIMEFRAMES. If I pass in this variable case mTFH01 , I get error  'mTFH01' - constant expression required and if I pass
Anil Varma
Added topic What is -nan(ind) error and solution to it.
Dear Members Just now I have started receiving  UpperInn[ -nan(ind) ] Error, where as this indicator and code have been working fine for quite a months. Search on Google and Forum, did not helped much. Any help will be highly appreciated
Anil Varma
Added topic Challenge is identifying Bullish Candle
Dear Members I have challenge to identify Bullish candle with attached code . Codes for Calculating BEAR_Doji / BEAR_SpinningTop / BEAR_LONGLOWERWICK candles also attached just in case needed by members for understanding
Anil Varma
Added topic Strategy Tester showing different figures then the currency figures
Dear Forum Members I have issue with Strategy Tester , which I noticed recently while running the tester. It shows Balance 5200 Pips Profit 0 Equity 5200. Now even my Max SL (USD 50) calculated using Optimum Lot size is also showing very high figure
Anil Varma
Added topic why my posts have disappeared from 'Main News Feed' !!!
Dear Forum Members today I am surprised when I opened my new feeds!!! Majority of my posts are not seen there. Are they archived or deleted by MT5 platform ? 
Anil Varma
Added topic How to get Angle value at given Index bar from OBJ_TRENDBYANGLE
Hi anyone can please guide me how to get angle value of the trend line drawn using  OBJ_TRENDBYANGLE ? I did search the forum but failed to get any article on this
Anil Varma
Added topic Histogram Bars not printing, please help
//+------------------------------------------------------------------+