Hi Thanks a lot. The code is standard parameters.
I tried putting this line outside of the section, but that didn’t work.
TFType = ParamList(“TF (S, M, L)”, “STF|MTF|LTF”, 0 );
I added 3 new blank windows (different symbols with price), then inserted the indicator and when I change the parameters it changes it on every one of the windows. Not sure how to change that.
I added the top part of my code with the parameters.
MJF_FName = "MJF-ScoreNoTF";
TFType = ParamList("TF (S, M, L)", "STF|MTF|LTF", 0 ); // Time frame - Short, Med, Long
_SECTION_BEGIN(MJF_FName);
//SetBarsRequired(200, 0);
{ // parameters
XBarsBack = Param( "XBarsBack", 4, 1, 10, 1 ); // how many bars back to look for a signal
DSperiods = Param( "DSPeriods", 10, 2, 200, 1 );
FTperiods = Param( "FTPeriods", 10, 2, 200, 1 );
CCIperiods = Param( "CCIPeriods", 6, 2, 200, 1 );
CCIOb = Param( "CCI OverBought", 100, 2, 200, 1 );
CCIOs = Param( "CCI OverSold", -100, 2, 200, 1 );
DSOb = Param( "DS OverBought", 85, 2, 100, 1 ); // Double Stochastic OverBought line
DSOs = Param( "DS OverSold", 15, 2, 100, 1 ); // Double Stochastic OverSold line
EMAPeriod_STF = Param("EMA (STF)",39,1,100,1); // EMA STF
UseEMA = Param( "Use EMA",0,0,1,1); // Do we use EMA in the Entry Signals
// Only trigger the buy if the previous bar is closed and the signal is on last bar AND this bar - Default Closed
EntryBarClosed = ParamToggle( "Entry Real Time or Closed bar", "Real|Closed",defaultval=1 );
ColourSVName = (Name() + "Colour" + TFType);
BuySVName = (Name() + "Buy" + TFType);
SellSVName = (Name() + "Sell" + TFType);
}