Please or Register to create posts and topics.

Parameters MT4 Expert Advisor MPGO

12

Hi Alex,

 

if you want to optimize the TMA indicator, maybe this mq4-files can help you. Both are from the same coder, but with different code.

 

Greetings WhiteSlider

Uploaded files:
Quote from WhiteSlider on 18/11/2021, 18:42

Hi Alex,

 

if you want to optimize the TMA indicator, maybe this mq4-files can help you. Both are from the same coder, but with different code.

 

Greetings WhiteSlider

Hi ! Thank You! I saw both codes before - TMA-centered 3 kb, TMA - 9 kb. Both indicators load same CPU and RAM and same paint at Visual.

I doing total recode of TMA and TMA_NRP (non-repaint). My target add parameter ALL_BARS (how many bars indicators must look in history and process at visual as memory limitation) and very important Drop CPU and RAM memory load down by optimising code...to use more TMA in Tester and VPS

I believe its possible for me :) Will show you comparing results later

WhiteSlider has reacted to this post.
WhiteSlider

Hi Alex,

in my opinion all the "extern alerts" in the code of TMA -9 kb are not necessary.
Also the "extern bool interpolate" function has no necessary changings in the values of the TMA.
So i thought, that the TMA centered -3kb is with the smaler clearer code and without the inside "icustom" function (example: buffer1[i] = iCustom(NULL,timeFrame,indicatorFileName,"calculateTma",HalfLength,Price,ATRMultiplier,ATRPeriod,0,y);)
a better way to reduce the CPU and RAM and maybe makes the backtests faster.

 

Greetings WhiteSlider

12