Anil Varma / Profile
Friends
42
Requests
Outgoing
Anil Varma
Added topic Help needed on, simple but strange error!!!
Hi Fellow Members I have a strange error/issue, where my variable are correctly found but division results is shown as Zero!!! if (i <= 3 ) { if (DoPrint) PrintFormat ( "%s [%s] idxLoop[%i] TSV EMA
Anil Varma
Added topic Help Please!!! Indicator not drawing AveragedVolulme line...
Greetings Fellows I have created a custom indicator to display tick volume as histogram and average volume as line. The indicator is drawing the histogram but not the line. Data Window though shows both values are calculated. Screenshot and Code
Anil Varma
Added topic Can indicator visualization properties be set programatically?
Hi Everyone I need an indicator to be displayed only on specified timeframe. Currently I have to do it manually by setting visualization property. Is there a way I can do it programmatically? Thanks in advance. Update: ........................ From
Anil Varma
Added topic if statement | Optimum Performance
Hi Friends I have a confusion which One of the following "if statements set" is better in terms of CPU performance? If statement set [A] if
Anil Varma
Added topic How to get specific symbol's trading hours !!!
Dear Fellow Members How can I programmatically get the Symbols trading session timings for different assets I plan to trade in? So if I want to trade in AMZN Stock, I need to know the timings and programmatically restrict POSITION open and POSITION
Anil Varma
Added topic Multisymbol EA ... Challenge to set Assets Symbol and there class parameters. Is there better way than what I use?
Attached Code of My EA (relavant parts only) //+-----------------------------------------------------------------------------------------------------------------------------+ //| INPUT: Input for variable used in the expert advisor //|
Anil Varma
Added topic Currency Conversion for Non-Forex Pairs e.g. CFD or Stock etc
Dear all, In reference to this tutorial at https://www.youtube.com/watch?v=TAzM5Vd9nLs where I need to convert Symbol values into my accounts currency. I am looking to resolve the following: How can I know (programmatically) the currency
Anil Varma
Added topic Strategy Tester not working!!!
Dear All I had recently needed to reinstall MQL5 Platform and facing a problem with Strategy Tester . It keeps on showing 'Waiting for Update' and no data is processed. I have downloaded M1 data for more than a year and testing only recent 3 months
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
: