If I have a statement such as:
if(close(0) > close(-4) {
... do something
}
is it possible to use a variable for the word 'close' and use a parameter to select other options such as 'open' or 'hl2' to quickly change between them for testing purposes?
I tried various ways and don't get an error, but it doesn't work either.
Thanks for the help!
Randy
if(close(0) > close(-4) {
... do something
}
is it possible to use a variable for the word 'close' and use a parameter to select other options such as 'open' or 'hl2' to quickly change between them for testing purposes?
I tried various ways and don't get an error, but it doesn't work either.
Thanks for the help!
Randy
Comment