@jstap I think I found the error... might help if the variable code matched the global variable
(fixed it)
Now shouldn't this produce a value/number and not the text code? I'm thinking it still won't work because we are comparing "CSM-1-H1-USD" > 50 ?? Shouldn't there be a value to compare to >50?

Latest posts made by Sauce
-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap still can't get it to work for some reason. Variables with text code input as you said, but won't draw text.
-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap I've used this indicator previously, so I already know it works correctly with >50 with manually saving 28 different EAs according to each pair. Takes forever to update every block with a pair's base and quote currencies!
I'm trying to simply make CSM-1-H1-AUD change the AUD part to whatever the current chart's Base currency is and for CSM-1-H1-CAD change the CAD part to whatever the current chart's Quote currency is. I am trying to avoid saving 28 unique versions of the EA to specify each pair.
"once this is working you will know what to do to use the global (terminal) variables... you then could add custom code to get the descriptions you need into a variable" -- I do not know what to do.
can you please show me one example of the coding and block setup for both a Base and a Quote currency and I will duplicate the rest of the timeframes?
-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap this is what I see for Global Variables when press F3
Do I need to put these all into Terminal Variables?

-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap I'm sorry, I'm not sure what you mean by set global variables? Can you show me an example via the shared project above? I figured I'd at least start the shared project and see if you could revise it. (I'm not trying to have you do the work for me, but I'm certainly lost at this point and need clear examples/directions).
here is a link to the CSM custom indicator for future reference anyone that comes along looking for it: https://www.forexfactory.com/thread/852082-csm-indicator-hanover
Not sure if this would help at all, but this is part of the indicator's inputs...

-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap will this work? feel free to edit any mistakes.
shared project: https://fxdreema.com/shared/II6e2wU5c
UPDATE: it doesn't appear to be working, I'm lost again

-
RE: Is it possible to have a dropdown list for inputs?posted in Questions & Answers
Nevermind, I believe I figured it out using custom enumerations.
-
RE: Is it possible to have a dropdown list for inputs?posted in Questions & Answers
I want to be able to have this auto-update based on chart symbol since I would like to use this EA on 28 different FX majors/crosses.
-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap I got confused with trying to add the timeframe which made it too complicated for me to be honest.
Will you please fix this if needed? I don't understand how the VARIABLE_COMP_CHANGE variables are working? What is the purpose of he TEST_VALUE as constant?I've tried my best here with my limited understanding of modifying variables. Please feel free to rearrange/optimize this since I really don't know what I'm doing lol.
SHARED PROJECT: https://fxdreema.com/shared/HUU0g5Cjc
You may have provided it already with other stuff added in, but can you show me just simply how to make it that the EA auto-inputs the Base and auto-inputs the Quote currencies into their respective "CSM-1-M1-(BASE)" and "CSM-1-M1-(QUOTE)? I will manually update the timeframe in the code input instead of making variables for each one separately.
-
RE: Using a Constant within a Terminal Variable nameposted in Questions & Answers
@jstap OK Let’s do this instead… I will just create blocks for each time frame instead of doing multiple variables.
Can you show me how to have code input “CSM-1-M1-???” update the code input so that it updates the ??? with the base and the quote? (Forget about the timeframe)