Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pending orders #424521
06/17/13 23:01
06/17/13 23:01
Joined: May 2013
Posts: 245
S
swingtraderkk Offline OP
Member
swingtraderkk  Offline OP
Member
S

Joined: May 2013
Posts: 245
Hi all,

Can someone tell me what the correct syntax for placing a pending order to be evaluated at each tick is please:

Is it for pricex :

a) enterLong(0,pricex);

b) Entry = pricex;
enterLong();

c) enterLong(Entry,pricex);

d) all of the above

e) none of the above.

If created, how would one then modify the entry level at any subsequent bars or based on an event at tick level e.g. trail an entry at a certain retracement of an impulse high?




Last edited by swingtraderkk; 06/17/13 23:05.
Re: pending orders [Re: swingtraderkk] #424526
06/18/13 07:30
06/18/13 07:30
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
a and b are both correct for an entry stop => http://manual.zorro-trader.com/buylong.htm. Look also for the grid trading example under "Tips & Tricks".

For modifying the entry price afterwards, use a trade function. Either set the "TradeEntryLimit" parameter to the new value, or check directly if the entry condition is met and then open the position immediately. => http://manual.zorro-trader.com/trade.htm


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1