Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader 4
Variable , Primitive question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="Michael-M, post: 196443, member: 66701"] I am sorry but I have a primitive question. it’s about variable, I was trying to code my own EA and trying things out some of my custom function return with -1 others with zero but when took one of these functions that should return zero when there is no result and assign it to a variable that is initiated with -1 I noticed that the result change although according to my understanding that the new value of the function should be assigned to the variable instead of -1 but it seems that is not what happened and the result the function result change rather than if the variable is initialized by zero as if the function is not been read because the variable that this function is been assigned to is initialized with -1 anyone can explain to me why? thank you [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
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.
Accept
Learn more…