Jia Run Yuan / Publications
Forum
How to call functions in. so file in Linux (Ubuntu) system
In my code,I'm trying to import funtion like: #import "libsro.so" int TrainNetwork(int inputSize, double& data[], int Bars, int training_bars, int BarfeatureCount);//---check void GetTrainingProgress(double &accuracy, double &progress, double &average_loss); bool IsTraining(); double
Optimization consumes too much hard drive life
I have found that after every optimization, my hard drive health status decreases by 1%. Later, I found out that a large amount of data was written to the hard drive during each optimization.Is this normal? What is writing to the hard drive? I know that functions such as Print() will not be executed
Insert a function before any form of trade request(SL/TP/Sell/Buy) is executed
I tried placing my intended function at the beginning of OnTradeTransaction , but my intended function is being executed after the trade request has already been executed
How to know there is a trade request in my EA? OnTradeTransaction is a bit behind my needs
What i want to do: When there is a transaction request(whether it comes from a stop loss order, target price order, or EA), i need to run a function to check something.If the function returns true,i need to stop the transaction before the request has been executed. What i tried: Put my function at
How to deal with server disconnection in EA
The following are my two questions. I haven't found good answers in the historical records. Does anyone know? 1.How can the EA get a information when sever is disconnected.I found that the server of the broker was disconnected sometimes, and it will reconnect in a few seconds. This situation can
"ObjectGetValueByTime" return different value after the weekend by different testing way(Especially the trendline)?
For example, in my EA, i need to get the value from a trendline , but if there is a weekend, i will get different value by getting different testing period.(seems calculating weekend in one case) 1.If i selet 2022.8.1 - 2022.9.1 2.If i selet 2022.8.8 - 2022.9.1 The value return by