View Single Post
  #5 (permalink)  
Old 11-27-2007, 01:15 AM
project1972's Avatar
project1972 project1972 is offline
Senior Member
 
Join Date: May 2006
Location: Fl, Usa
Posts: 277
project1972 is on a distinguished road
Quote:
Originally Posted by natsirte View Post
Hi

in my EA I try to put

double var_global = GlobalVariableGet(ok_trade,Direction) ; // or
GlobalVariableGet(ok_trade) but I have the message that the variable not defined.

Why?

best regards
Use something like this.

string ok_trade;
int direction;

direction=GlobalVariableGet(ok_trade);
__________________
I have not failed. I've just found 10,000 ways that won't work.
Thomas Alva Edison
Reply With Quote