Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Initial Stop #453251
07/14/15 15:05
07/14/15 15:05
Joined: Feb 2014
Posts: 183
R
RTG Offline OP
Member
RTG  Offline OP
Member
R

Joined: Feb 2014
Posts: 183
I have traded in the past a mechanical system using the 'traders trick entry' setup. In that case I was placing manual orders using charts. I want to backtest the same strategy with Zorro.

The traders tick entry occurs when price breaks a 52 week high or low. The bar that breached the high or low is used to set a stop entry using the day high/ow as the stop entry. In addition, the low/high is used as the initial stop loss.

So for example if prices broke through a 52 week high of $10 and the bar that did it had a high of 10.10 and a low of 9.90. A stop entry would be set at 10.11 and stop loss of 9.89.

This is is where my issues lies.

How do I set an initial stop to refer to the setup bar?

I can use TradePriceOpen to the get the value of the entry price but how do I get the value of the low of the setup bar?

Re: Initial Stop [Re: RTG] #453267
07/15/15 14:10
07/15/15 14:10
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
If I understood you right, you just need to set Stop = priceLow() before entering the trade.


Moderated by  Petra 

Gamestudio download | 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