Anil Varma
Anil Varma
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
//+------------------------------------------------------------------+
Anil Varma
Added topic MQL5: with For..Loop Draw Arrow Function printing only 2 elements out of 10 in Array !!!
Hi Friends I have created a testing EA to calculate High Low value index, and draw arrow for these points on chart. However, while using for..loop it is drawing only 0 and 1 element from the array(s). Rest of the elements 2 to 9 are not drawn. Please
Anil Varma
Added topic Error 130 on OrderModify || order modified few times and then start sending error
//**************************************************************************************************************** Transactions from RESULT screen whereby  49 2020.10.09 18:45 buy 5 0.07 1.18193 1.18051 1.18248 0.00 1006.69 50 2020.10.09 18:45
Anil Varma
Added topic Custom Indicator not working on timeframe above H1 !!! Please help to locate problem
#property strict #property indicator_separate_window #include   <Custom\Function_Indicators.mqh> double     Buffer_VolumeIntensity[];         // Assign Buffer to indicator
Anil Varma
Added topic How can I avoid trading on Divergence!!!
Hello Friends I am creating an EA based on Trending Strategy and it is working fine while in trend. However, when it reached divergence it start taking order most of which result in loss. any guide how to handle this, will highly appreciated  or
Anil Varma
Added topic Extract previous three HH, HL, LL and LH values from ZigZag Indicator Code
Hi Friend Can someone help me how to extract previous three HH, HL, LL and LH from the code of ZigZag indicator? I have removed the indicator functionality portion from the code, so it can be suitably modified to convert into a function. I would like
Anil Varma
Registered at MQL5.community
123