NexusFi: Find Your Edge


Home Menu

 





Sierrachart spreadsheet backtesting, hard to get accurate fills?


Discussion in Sierra Chart

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




 
Search this Thread
  #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?
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Prediction Markets Expiry Day: Trump Eyes War Exit, $230 …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608

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: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608

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


© 2026 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 - Downloads - Top
no new posts