jrobinson3002: I'm trying to figure out a way ...
|
Thanks a lot WHRoeder
This is my first Expert and I'm actually proud I have created a few hundred lines of code from scratch with no help but this was just something that maybe was a bit of a mental block that stumped me for some reason. I was just making it way too complicated in my mind. Now looking at it, it looks obvious and really simple. Thanks again.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I'm trying to figure out a way to create user defined variables based on the Bid and Ask price that will be set when the Expert starts and that stay the same until the Expert is de-initialized or the values are changed programatically. In other words I don't want the value of my variables to go up and down as the price moves. I'm guessing it's probably something simple but I can't find or figure out how to do it. For Example:
OriginalAsk = Ask;
OriginalBid = Bid;
Thanks in advance
J