Thank you very much.
The "if ( Condition )" I want to do like as follows:
It is ok ?
-----begin---------------
lasttimenum = StaticVarGet("lasttimenum");
Condition = ( Now( 4 ) - lasttimenum ) > 100 ;
d = Nz( StaticVarGet( "a" ) );
if ( Condition )
{
b = 1;
a = 1 + 1...
Thank you very much, I had check it and it is whole issue not StaticVarSet,
The StaticVarSet will consume 8 * (number_of_bars) bytes of memory.
the code is ok for using StaticVarRemove() ?
a=1+1;
StaticVarSet("a", a );
a=StaticVarGet("a");
StaticVarRemove( "a" );
c=a+b...
I had modify it but it still not work.
buy999 shows " {EMPTY} "
maybe StaticVarSet only for volume .
I try VarSet/VarGet too , it shows " {EMPTY} " too
ex:
if()
{
a=.......;
b=.........;
c=a + b;
StaticVarSet("c", c);
}
c = StaticVarGet("c"); <--------- it is ok , but c=( a and b)...
Hi
StaticVarSet() / StaticVarGet() seems not work for Buy/sell signal
How to do let it to work for Buy/sell signal ?
use StrFormat() ?
ex:
if()
{
buy=a and b;
StaticVarSet(buy);
}
buy999= StaticVarGet(buy);
it is not work
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.