Forum

Question about writing .csv

Hello,experts Lets say I have too many integer in array. int a[]; and ArraySize of A has more than 50+; If I want to put these numbers to .csv and sort by column. So how to input parameter in FileWrite() easily? FileWrite(filehandle,a[0],a[1],a[2],a[3],a[4],............,a[50]); by using any

Can Ea modify TP/SL when automated trading disable?

Hello I am wondering if I disable automated trading . then what anything can ea do? Can it just modify tp/sl remaining positions/orders? thank you

How to turn on/off automated trading by ea?

Hello,everyone Is there a function that able to set live trading on/off ? It is same as turn on/off live trading by click on terminal. thank you

discontinuous buffer in custom indicator

Hello everyone, As we know that buffer value is calculated from price series such as moving average,rsi. which these indicators have continuous value. What if the calculated value is not continuous like following image (blue line). What data type should the buffer store in the gap range? Thank you

How to know where order is triggered from?

Hello everyone, I doubt that, If I share trading account to my friends. How to know who triggers the order or position? Is there log of ip address or something that specific to who place order? thank you

Question about Vps service

Hello, I have a doubt something.please give me some advice 1.which is exact latency to broker by vps? 2.Can I close the ea in the terminal or attach a new ea with .dll after migration to vps have beed finished

Indicator return different value when changing tester mode to visual.

Hello everybody, Would you please solve this problem. I found that the repainted indicator value (zigzag) of two tester mode have value unequally. The zigzag's buffer of these mode have their value themself. but some value are different. because copybuffer was at Ontester() and timeframe/symbol/time

Indicator problem

Hi,experts I doubt if we can change parameters of indicator during the ea/script is running? as we know,we need to declare (ma_Period,symbol) them in Onit() firstly before using. Let say I want to use moving average’value of 10-50 period,Does I need to declare 40 buffers and 40 handles? thank you

Can the tester do these thing?

Hi experts, I have been interested in statistical value that accompany with trading system. Unfortuately, in mt4/5, the tester doesnot provide the value/graph I want to see. So, Is it possible? to make an script/ea to create these thing especially. 1. generating 2D-3D graph/Distribution bell

simple question about calling class/struct

Hi experts, I am currently trying to get my first function to be compiled. But I got some error. any idea how to fix them? I created 2 mqh files and want the second file calling the struct of first to make a function. //test.mqh #include <test2.mqh> struct ex { int a; int b; ex(){a= 0 ;b= 0