Forum

Query: .tkc files in Tester vs Terminal

I have imported external tick data for custom symbols in MT5 and created a script that uses the CustomTicksReplace function to amend the spread. Ive noticed the .tkc files are slightly different in size in the folder Terminal/Bases vs Tester/Bases and have different 'last modified dates' My question

Advice on custom indicator

I have transferred an indicator that is open source from pinescript to MQL5. The indicator works 99% of the time as intended however at times when it has been left for a while, the calculation seems to not be correct until it is refreshed starting the Oninit process over. At that point the values

Custom Indicator only showing last calculated value

//---- the indicator will be plotted in the main window #property indicator_separate_window //---- three buffers will be used for the calculations and plot of the indicator #property indicator_buffers 4 //---- only one graphic plot is used #property indicator_plots 1 //---- the indicator should be