I have posted two efs scripts with my attemp to use global variables to transfer data btw two charts from an indicator.
THREAD : http://forum.esignal.com/showthread....&threadid=7143
They dont work, please see scripts
ratiostopgetglobal1.efs
ratiostopputglobal1.efs
My comments on thread
*******************************************
MY ATTEMP AT USING GLOBAL VARIABLES
The put code is the same as rmClean code with the set up of transfer of two variables
1) The Stop value
2) The position : 1 for long, 2 for short
In the GET code the user still has the rights to set COLOR and BARTHICKNESS.
I know the Stop value is a Array, but I transferred it as a single value, this may not be correct. Anyway I loaded the PUT code onto a 5 min Chart, thats work fine. Loaded the GET code onto a 1 min chart, nothing was showing (??$#?$#)
In the GET code I did not do NULL checks or data error checks to make sure the position code was 1 or 2 and not zero, or that the stop code was greater zero, because I dont have a clue on how to do that.
So could some one please give me a hand and review my code.
Thx
THREAD : http://forum.esignal.com/showthread....&threadid=7143
They dont work, please see scripts
ratiostopgetglobal1.efs
ratiostopputglobal1.efs
My comments on thread
*******************************************
MY ATTEMP AT USING GLOBAL VARIABLES
The put code is the same as rmClean code with the set up of transfer of two variables
1) The Stop value
2) The position : 1 for long, 2 for short
In the GET code the user still has the rights to set COLOR and BARTHICKNESS.
I know the Stop value is a Array, but I transferred it as a single value, this may not be correct. Anyway I loaded the PUT code onto a 5 min Chart, thats work fine. Loaded the GET code onto a 1 min chart, nothing was showing (??$#?$#)
In the GET code I did not do NULL checks or data error checks to make sure the position code was 1 or 2 and not zero, or that the stop code was greater zero, because I dont have a clue on how to do that.
So could some one please give me a hand and review my code.
Thx
Comment