Hi guys:
standard question about how the loop works.
first time i know prev_calculated= 0 and limit = 0, Let's say in the first loop rates_total = 3 ;So in the first loop [i=0,1,2] so after first loop prev_calculated=3 now limit = 3-1=2 and rate_total should equal to 4. so in the second loop [i=2...
Hi guys: I just used EA for 1 day.. And I am totally confused with some functions. In the included standard "MACD" library , i thought PlotIndexSetInteger(1,..) just ignore several values at the beginning.. But what's the use of paramerater 1,sometimes it's 0.. help plz... void OnInit() {//---...
I am looking for an elliot waves indicator that plot the numbers like 1,2,3,4,5. I am not looking for the elliot wave oscillator.
Hi,
I´m coding just another chaos indicator based on "Trading Chaos - 2nd Edition".
Actually I want to draw some Angulation Lines (Jaw+Teeth)/2 from where the price crosses/peaks the alligator to divergence bars (and store the corresponding deviation as points/bar in a buffer)
int...
Hi everyone. I'm not good at programming
I have code Break Even but it only show oneline with case all buy sell with every pair.
How to fix it bring two line , one break even for sell , one break for buy. (every pair)
From case when i close All Buy Sell Order (one line break even)
To case i...
We use to analyze the market using several different tools. One of them coulbe be checking the transaction flow registered on the stock market. I just new using Metatrader and I would like to know if there is a window, on the Metatrader 5, where I could see the trades excecuted flow, right after the
If I create overlapping graphical objects programatically, they are stacked in the order of creation. I want to have more control the same way as for click events with property OBJPROP_ZORDER. In the following example, the red rectangle (test2) is drawn on top of the white rectangle (test1) because...
I use mt4's inbuilt fibo tool a lot, and would like to be able to duplicate this on a permanent setting.
Have looked for additional - user input - fibo tool to add but all the ones i find are auto fibo tools.
Does anyone know how i can either permanently copy mt4's inbuilt fibo tool and then...
Hi
I am using Meta Trader Build 646 and MQL 5 build 934. I would like to use ChartIndicatorAdd but it is not in MQL although it is explained in the MQL5 Reference.
Can someone help?:
I would like to load an indicator from the current chart on to another chart. Example: I want the an indicator...
Hi
I've downloaded some ZigZag indicators, despite different settings couldn't get what I need. I want ZigZag like what I've seen on a video. I attach some photos from the video:
As you see it connects all the Highs and Lows.
I also have the indicator for MT4 (which is attached), but I need...
I need a indicator model ,3 MACD (12_26;24-52;48_104) in one window, I dont know how to code this, give me a example please;
INDICATOR NAME: CKH Strength IDX OBJECTIVE: This indicator reveals the current strength of symbols such as AUD, EUR, and USD through their indexes. Strength of indexes are calculated based upon the USDIDX which has different weights on different currencies. Note: Line 1 is the AUD index. Line 2 is
Hi guys, i want your help for installing the custom indicator in mt-4.I know the normal procedure about how to install the indicator in mt-4 is go to C Drive- >Program Files - >MT-4 folder -> MQL4 folder - Indicators folder and add indicator there and after that restart the Metatrader.Thats i was...
Hello Everybody,
I trap trend line create and delete events:
int OnInit() {//--- enable object create events ChartSetInteger(ChartID(),CHART_EVENT_OBJECT_CREATE,true);//--- enable object delete events ChartSetInteger(ChartID(),CHART_EVENT_OBJECT_DELETE,true);}
but when I enter...
Hi,
I'd like to add data from uppers TF in an indicator : ex. Indicator on M1 - show the results of M5, M15 etc ... for the same indicator.
How to do this ?
The overlay chart is a nice indicator, but I'm havingthis problem: it always goes out of position if i zoom out or in. Is there anyway to fix this? That woulb be great ! Thanks.
Hi,
is there any way to avoid the "Array out of range" error with tick inidcators which show up after some time? As far as I understand this error appears if I got more ticks than bars. The array size managed by the subsystem seems to be depending on the "Max Bars in Chart" and the history of bars...
hi, I wrote a indicator that use two iMAs. in my indicator I used an if that compare this two iMAs and point some price. my indicator work well in first run, but after I changed my inputs it shows strange things.
plz help me
I am running an indicator that stopped working in Build 646 can anyone help? The file is attached.
Hello all, i want to optimize the indicator iSAR . Is it possible to change it. Where can I find the code of this indicator? BR, mtsTrader
Hello,
By trying to switch chart period within oncalculate function in a custom indicator, we use following code below. But the chart automatically closes after the return. How can this be solved? Thank you.
ENUM_TIMEFRAMES periods[] = {PERIOD_M30, PERIOD_H1};int period_ind;int OnCalculate(const...
Hello, Is there a function or any other way in the library to sequentially change the period of the chart? Thank you.
Hi ☀
I wanted to change the line color from Input Variables, but I couldn't.
I could do that with #property indicator_color1, though.
How should I do this from Input Variables and PlotIndexSetInteger(0,PLOT_LINE_COLOR,~) ?
#property indicator_chart_window#property indicator_buffers 2#property...
I downloaded 3 pivot points indicator to the designated folder. They are not shown in the MT5 indicators->custom indicators?
I sometimes see a yellow star when using TDI with alert. Anyone knows what it means?
Helou,
sorry for stupid question, but in my mother language is hard to stady mql5. I dont know how to change color of MA line, which i add to chart :
double maFast[];
ArraySetAsSeries(maFast,true);
int maFastHandle = iMA(_Symbol,_Period,MAFastPeriod,MAFastShift,MAFastMethod...
HI,
I have used the ObjectCreate() to create Fibonacci retarcements, than I change setting by ObjectSetInteger, everthing perfect,
but what i need now is to get the value of Fibo Levels, in price exactly......
Is there any function I could use??? thanks a lot
I would like to know if it is possible to add a second currency pair in one chart window in MT4?
I do not see this option but is there a way of doing it by editing the program or adding an script perhaps?
There is a trading platform that has this option to have 2 currency pairs in one chart...
Hey,
i saw a screenshot of a trading desk. Dont know which indicator is used. Does anybody know?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.