MT4 Script to MT4 Indicator.
Hi again Apprentice.
I have found this script that will display on a chart the closed and open trades on chart.
But the scripts execute only once , and i wanted to see the function that displays a line of open trades,at every tick. so i added a
static ulong Previous_Tick_Time = 0; at the beginning ,
and i looped the int start() with an if( Previous_Tick_Time != This_Tick_Time ){
My problem is that i have to load the script for all 20 pairs i trade every time i restart the terminal.
Is it possible to convert the script to an indicator so i can save it as a template, or to crate an indicator that will display on a chart the closed and open trades, arrows and lines, with an option to change the color of winning and loosing trades?
Or is there a way to call the script from my ea when ea is loaded?