Zerocode closings
![]() |
|
||||
|
This will need a little auto and also manual work.
1. Add logics as in attached screenshot. 2. Find in code IsClosing = (IsBuying == True) and (x <= 0) 3. Add parenthesis IsClosing = ((IsBuying == True) and (x <= 0)) 4. Compile in MT editor. That's it
EA Shark +1064% Return
Stock Market Crash? No Problem! We Are Making Profits As Usual. More Info |
|
||||
|
Wow thanks,
now I see you put for IsBuying, should I also add it to IsSelling as well or is it purposely left out?
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
I have another question, I am not sure if this will work but i will try after i post this. Can I put two:
AND IsBuying = True AND x<=0 OR y<=0 OR Is Buying = True AND x>=0 OR y>=0 Would this keep the y<=0 with the IsBuying or not? Thanks
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
Hah I think I actually answered my own question, just put everything that works with IsBuying or IsSelling in that paranthesis. Sorry that was a mistake on my part I wasnt thinking too clearly.
Im going to test this right now. Thanks again scorpion
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ZeroCode Beta 2 Status | scorpion | MetaTrader and ZeroCode | 85 | 06-21-2008 05:11 PM |
| ZeroCode Expert Running 3 Majors (?) | Scicronys | MetaTrader and ZeroCode | 8 | 12-12-2007 09:58 AM |
| Important: ZeroCode Final Release | scorpion | MetaTrader and ZeroCode | 44 | 09-13-2006 12:59 AM |
| RE: RSI in ZeroCode ????? | TurboTrader24 | MetaTrader and ZeroCode | 9 | 08-04-2005 04:28 AM |
| Important: ZeroCode Header in Compiled MQL files | scorpion | MetaTrader and ZeroCode | 0 | 06-09-2005 09:59 AM |
All times are GMT. The time now is 01:30 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now











Linear Mode


