Forum

Using data from demo account to decide about real account. Is it possible?

I want to know if is it possible to use data from a terminal to calculate an indicator and use that indicator in another terminal? For example use a Demo account trade history and use it for some calculations and make an indicator. Then use that indicator in another terminal which a real account is

please help to fix this issue which appears when I re-open the metatrade terminal.

Hi. I want to check account used margin so I write this code and use it as an indicator: #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Blue double Buf_Exposure[]; // Declaring arrays (for indicator buffers)

iMAOnArray

Hi everybody! What does mean items, Total, and elements in iMAOnArray? double iMAOnArray( double array[], // array with data int total, // number of elements int ma_period, // MA averaging period int ma_shift, // MA

Problem in using iCustom (Problem Solved)

*****Problem Solved : Answer in #7 comment).***** --------------------------------------------------------------------------- Hey. I want to use iCustom to take ZigZag data for my variables. But after applying it to metatrader, it hangs up (not responding mode) and I have to close it. Mentioned part

How should i check if I have an open buy order?

Hey Buddies I'm not a computer programmer and my question seems simple. But I'm confused about it. I have read MQL4 book and function reference, but i can't find the solution. I just want to check if there is an open buy position or not? I tried to use OrdersTotal() but it returns buy and sell