NexusFi: Find Your Edge


Home Menu

 





Sierrachart spreadsheet backtesting, hard to get accurate fills?


Discussion in Sierra Chart

Updated
    1. trending_up 2,320 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Sierrachart spreadsheet backtesting, hard to get accurate fills?

  #1 (permalink)
jesse514
Montreal, QC
 
Posts: 11 since Apr 2014
Thanks Given: 5
Thanks Received: 6

Hi guys, I'm about to give up on Sierra chart spreadsheet trading because of the following problem, so maybe someone knows of a solution OR can at least confirm that what I'm trying to do is not possible without some advanced ASCIL functions (which I don't think I could code myself)...

I want to get filled at the exact price of a signal crossover, even if that price is mid-bar. So as a simple example let's say Line1= 95.00 and I make a rule that says BUY if E3 (last price) > Line1. So then if a bar opens at 94.90 and closes at 95.20 (thus piercing my Line1 trigger in the middle of the bar), is it possible for my entry price to register as 95.01? Right now I instead always get filled somewhere near close of the bar (but not always at the close), which pretty much makes the backtesting process useless for me.

I'm using 1-minute data, not tick data, so all I have is the Open, High, Low and Close. I guess most obviously the problem is that events are triggered only at the close, when the price might already be much higher than the trigger value. But I can't seem to find a way to have the system assume that each price in between the OHLC points gets hit.

On a related note, assuming I'm not just making a mistake, feel free to point me in the direction of a different platform that does makes this easy (getting intra-bar fill prices during backtesting, rather than only getting filled at the OHLC). I'm trying MultiCharts but the coding had a much bigger learning curve than Sierra Spreadsheet trading. Thanks!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
Funded Trader platforms
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Looking for an MQL4 MetaTrader programmer/coder
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
48 thanks
NexusFi site changelog and issues/problem reporting
46 thanks
Battlestations: Show us your trading desks!
33 thanks
GFIs1 1 DAX trade per day journal
32 thanks
Friendly challenge question to vendors
18 thanks

  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 215
Thanks Received: 603

It's possible to get accurate fills with the spreadsheet study. No need to give up on Sierra Chart.

Firstly, Signal Only On Bar Close should be set to No.

Secondly, you definitely need tick data. With minute data, the price update is only happening once every minute.

As for the exact price fill, that would depend on slippage, caused by market conditions or latency.

Reply With Quote
  #3 (permalink)
jesse514
Montreal, QC
 
Posts: 11 since Apr 2014
Thanks Given: 5
Thanks Received: 6


It seems like the main problem is that I'm not able to place STP or LMT orders at a certain price in advance (Sierra admins tell me this would require an ASCIL function, which I have yet to figure out).

For example, a bar closes below Line1, so the system places BUY STP at "Line1 + 10 ticks" so then if a bar pierces that price the order would get filled. The question then is, would it get filled at the Line1+10 price or would the fill price still be limited to the High or Close of the bar that pierces my STP price (which would be unfortunate since it would mean backtesting is not possible without purchasing tick data which would be costly and likely hard on system resources).

Does anyone (1) have experience placing STP or LMT orders from a spreadsheet at a specific price (which seems to require as ASCIL function)? (2) have experience backtesting a strategy that does this, and could provide insight into whether mid-bar fills can take place?

If this isn't possible then indeed tick data would certainly be needed. Thanks again.

Reply With Quote
  #4 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: Stage5, FCM:Dorman, Data:Denali, Routing:Teton
Trading: YM ES NQ
Posts: 474 since Nov 2009
Thanks Given: 215
Thanks Received: 603

I've built many systems using Stop and Limit entries with the spreadsheet study. It is indeed possible and reliable for backtesting.

As I said, you need tick data if you want accurate entries intrabar, regardless of entry type.

Reply With Quote





Last Updated on April 9, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts