retireme wrote: ↑Tue Feb 15, 2022 4:09 pmthomdei
I am sure this information can be found on this website but I will try to help with regard to your templates.
If you have an indicator that is a different name than the one you were using in your template, it is easier to just edit the template instead of recreating a new template.
It is done very easily: First find your template via windows explorer, double click it and it will open in your default text editor. Now press CTRL F and type in the name of your old indicator which will then find it in the text file. Look at the attached code from my template and you will see <expert>, under that is the indicator name. In the example, change 'name=XU ma HL simple' to the replacement name. Save the text file and away you go. You have asked to have the width and other variables to be selectable too but as long as the internal variable names have not changed, when you load your template it will also read in your variables to the new indicator.
Hope that helps you!
Code: Select all
<indicator> name=Custom Indicator <expert> name=XU ma HL simple flags=339 window_num=0 <inputs> STR01=<<<==== Candle Settings ====>>> showCANDLES=true WickWidth=2 BodyWidth=3 UseAutoWidth=true
Thanks for TPL editor help.
Actually, I was referring to the new ver : XU ma HL simple 1.2 which misses wickwidth, bodywidth, useautowidth ( true/false) : in STR01 : Candle Settings.
These options are available in old ver.
attached is pic for ref *
Thanks. Thanks. Thanks.