Roman Sharanov / Publications
Forum
Can someone help me to setup fractals and find mistake
Hi, Im trying to make my own fractals indicator, its different, as I want it to be "zigzagly", it means there mustnt be a following similar upper or lower fractals, must be a chain like this: lower-upper- lower - upper - lower .....I hope its clear And also, when we want to draw, for example, a new
Tick value in MQL5
Hello, can anyone explain how to get a tick value MQL 5? I use SYMBOL_TRADE_TICK_VALUE but it return 56.88 for EURUSD, this is wrong for sure
MQL5 zigzag control panel
I'm trying to create a control panel for my indicator based on zigzag. I need to get the first 5 values of the zigzag and the time of these values for the selected timeframe from the panel, which were at the very beginning of the story available (limited number of bars in the settings) First 6
Harmonic pattern inconsistent
Hello. A few days ago I got an idea to learn something about harmonic patterns. So I entered "harmonic trading" in google and clicked any link. On this site I found an explanation about patterns and heres my misunderstanding. On the attached pictures you can see a gartley pattern. And comments from
How to get Fibo fan price on the previousd candle? MQL5
Hello, can anypne explain it? I tried to use ObjectGetValueByTime() by giving it last candle's time, but it return 0 or last high/low, or anything but not fibo level price
MQL5 How to get zigzag values
Hi, I've tried a lot of code variations, but no matter what i shows me some random values. Can anyone explain how to get these values? #property copyright "Copyright 2018, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict int
Mt4 and memory
Hi, I created a complicated indicator. It contains a structure with a 3 variables, and 2 three-dimensional arrays of these structures. struct COORD { double Price_; double Close_; datetime Time_; }; In this buffer I got: First dim - timeframe (5,15,60,240) Second dim - Depth parametr for
Dynamic arrays
Hello. Is it possible to set array size dynamicly for an array like SomeArr[5][][12] ? I mean first and third dimensions are known, but the second must be calculateted and set up
Function with variable number of parameters
Hi everyone. I need to use one fuction, but with a varible numbers of parameters , the quntity of parameters is known in advance. In C++ for example, you use kind of void func(int a, int b, ...) and it's simple. But unfortunately I havent found any information about it in MQL4. Any tips, how to do
Drawing with mouse button
Hi everyone, apologize for propably bad english. Can anyone give me advise, where should I read about the interaction between chart and mouse. Heres exactly what I need,for example: some kind of button on the chart. So when I click it, it's becomes possible to put 4 "dots" with mouse click, and