Gamestudio Links
Zorro Links
Newest Posts
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
TMFs on options in live trading
by Spirit. 03/26/26 19:52
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 4,161 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ondrej, mredit, vestriaa, Lukudo, mldenoiser
19205 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
EnterLong and EnterShort #441742
06/01/14 13:04
06/01/14 13:04
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
Hi everyone

Another beginner question coming.

I am a bit confused about the EnterLong and EnterShort functions. For most of Zorro's functions, it is possible to define the function's parameters in the brackets following the function. For example SMA(price(), 50). However, the EnterLong and EnterShort functions need to have their parameters defined prior to calling the function.

Why is this so?

Thanks in advance for any advice.

Re: EnterLong and EnterShort [Re: boatman] #441744
06/01/14 14:32
06/01/14 14:32
Joined: Jul 2013
Posts: 522
D
dusktrader Offline
User
dusktrader  Offline
User
D

Joined: Jul 2013
Posts: 522
I might be misunderstanding your question here... but I think the answer is that enterLong() enterShort() allow you to define the parameters either before calling them or at the time of the call. You can also skip defining them and then Zorro will use the functions defaults.

man page here


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1