Custom Moving Average Inputs – indicator MetaTrader 5

Custom Moving Average Inputs
Two settings have been added to input parameters: line color (Color) and line width (Width). You probably noticed that if an Expert Advisor uses the Moving Average indicator data, then this indicator is displayed ONLY in red in the visual tester mode. If such an EA uses data of three Moving Averages, all three indicators … Read more

Custom Bulls Power Inputs – indicator MetaTrader 5

Custom Bulls Power Inputs
Two settings have been added to input parameters: line color (Color) and line width (Width). Why are the line color (Color) and line width (Width) are provided as input parameters, whereas the line color and width in the standard indicator can be changed manually? If you test a strategy in the tester or if the … Read more

Custom Bears Power Inputs – indicator MetaTrader 5

Custom Bears Power Inputs
Two settings have been added to input parameters: line color (Color) and line width (Width). Why are the line color (Color) and line width (Width) are provided as input parameters, whereas the line color and width in the standard indicator can be changed manually? If you test a strategy in the tester or the indicator … Read more

Get info about inputs and outputs of onnx-model – script MetaTrader 5

Get info about inputs and outputs of onnx-model - script for MetaTrader 5
Create model from mnist.onnx with debug logs ONNX: Creating and using per session threadpools since use_per_session_threads_ is true ONNX: Dynamic block base set to 0 ONNX: Initializing session. ONNX: Adding default CPU execution provider. ONNX: Removing initializer ‘Parameter6’. It is no longer used by any node. ONNX: Removing initializer ‘Parameter88’. It is no longer used … Read more

Information about the ONNX model’s inputs and outputs – script MetaTrader 5

Information about the ONNX model's inputs and outputs - script for MetaTrader 5
The ONNX model run function requires the model’s input and output sizes to be defined. The sizes are specified via the OnnxSetInputShape and OnnxSetOutputShape functions, respectively. Not all models have fixed input and output data sizes. In these cases, the script will return -1.    OnnxTypeInfo type_info;    long input_count=OnnxGetInputCount(session_handle);    Print(“model has “,input_count,” input(s)”); … Read more