selnomeria
selnomeria
Friends

Add friends via their profile or user search and you will be able to see if they are online

selnomeria
Left feedback to developer for job Need simple EA
selnomeria
Added topic What difference between iHigh and High ?
does it matter if i use High[0] or iHigh(NULL,0, 0) in EA ? why iHigh is widely-used way
selnomeria
Added topic How to retain local value of variable?
I know, that in some cases non-buffered variables are lost. for example static int MyVariable = 0 ; ...... MyVariable =  (Condition ?   MyVariable+ 1   : MyVariable ); ...... but in some cases i found (when something
selnomeria
Added topic how get programs version in MQL?
for example, i want to have a condition like this; if (ThisIsMT5) then do1();  else do2(); how can i automatically determine if running platform is MT5 or MT4 (mql5 or mql5)
selnomeria
Added topic difference between offset and index
can anyone tell me what's difference between: iMA(NULL, 0, MY_LENGTH, 2 , MODE_EMA, PRICE_LOW, i ); iMA(NULL, 0, MY_LENGTH, 0 , MODE_EMA, PRICE_LOW, i+2 ); dont they return the same value? why does offset exists at all, as we can just put i+2 in
selnomeria
Added topic what is "SetLevelValue"
hi,  can someone tell me what does this function ? https://docs.mql4.com/customind/setlevelvalue i have SetLevelValue ( 0 , 50 ); SetLevelValue ( 1 , 68 ); SetLevelValue ( 2 , 32 ); and get such image: i cant understand how they act
selnomeria
Added topic How to write to C disk directly?
hi. with FileWrite, it only writes into application storage direcory (in   C:\Users\username\AppData\Roaming\MetaQuotes\Terminal\50CA3DFB510CC5A8F28B48D1BF2A5702\tester\files\ ) However, when doing  int
selnomeria
Added topic Why EA is not executed during other minutes?
I frequently meet such situation. On chart, there is available 24 hours datafully, but from EA (i inserted "Print"), it seems it is only executed only on specific times, and WHY? what happens
selnomeria
Added topic How do you check CLOSE in EA?
Hello. I use script to force the EA to run once on every bar start. ..... if( Now == Time[0]) { return;  } .... However, in my EA, let's say, Trade happens if CLOSE>OPEN of the bar (i dont matter ticks)... however, the EA is executed only on
selnomeria
Added topic Any way to detect if current scope is EA or Indicator?
Hi. I want to have a variable/code in my library, that will tell if current script (it is used in) is EA or INDICATOR... what code can be used
selnomeria
Added topic does "DRAW_FILLING" support MULTIPLE COLORS?
does  DRAW_FILLING type supports COLOR_INDEXES (like COLOR_LINE and COLOR_HISTOGRAM2)  ? I mean, can i use multi-color DRAW_FILLING
selnomeria
Added topic chart "Refresh" causes the plots to be misbehave
After I compile the indicator, on the chart, the lines are drawn correctly. However, if i then right click on chart and click "REFRESH", the lines are messing up and drawing strangely...  what happens? should I use something code in INIT/DEINIT
selnomeria
Added topic How to trim to i.e. 2 decimal places in the Data window?
in Indicator Data window,the numbers (after dot) show bunch of zeroes: i need to be shown there only 2 decimals after dot. used this function , but still doesnt help, there are still ZEROes shown... double RoundNumber(double number, int digits) {
selnomeria
Added topic Are "library file" instances separate for indicators?
Guys, do you know the behavior of MT? let's say, for example, in my library file, I have a function , which makes something calculation, lets say: double SomethingCounter=0; double MyFun1(bool condition){     if (condition) {
selnomeria
Added topic Can we get variable with variable name?
Is it possible to get variables like this?: double NewStopLevel =  GetVariable("OldStopLevel") + 12;    //because "OldStopLevel is outside of this indicator, and I'm trying to build a way to call that. i.e. something like this? string
selnomeria
Added topic How to set Multi-Type array
This topic is different from my previous topic... for example, i want to have a function ,  which should set a bunch of different variables/values. Then I want to call that function , like this: xxxx MyArrayContainter; void OnInit (){
selnomeria
Added topic How to pass variables from and to (Exported Library)?
Hi. I am building my everyday functions library, so I will include it in all my projects ( I dont know which one I should choose:  include or library filetype)... However, many functions need to use some specific GLOBAL variables from the main
selnomeria
Added topic Multi-Color buffer line - Need more clarification
In this article -  https://www.mql5.com/en/articles/135 there is not writen, how color-buffers are assigned to specific buffer. for example:    SetIndexBuffer ( 0 ,buffer_line1, INDICATOR_DATA );
selnomeria
Added topic OBVIOUS BUG
I use the simple code: #property indicator_chart_window #property indicator_buffers 1 double test[]; int OnInit(){   SetIndexBuffer(0, test,INDICATOR_DATA);   return(INIT_SUCCEEDED); } int DaysGone = 0; int OnCalculate(const int
selnomeria
Added topic How many days gone after ... Time[i] ?
I a on XYZ minute timeframe chart. how can I: 1) calculate how many days gone from Time[xyz] ? 2) calculate how many days gone from first bar of chart
12