NexusFi: Find Your Edge


Home Menu

 





Sierra Chart Worksheet System For Trading/Alert Discussions


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Sawtooth with 73 posts (125 thanks)
    2. looks_two luckcity with 43 posts (2 thanks)
    3. looks_3 RT912 with 12 posts (0 thanks)
    4. looks_4 bxman with 10 posts (0 thanks)
      Best Posters
    1. looks_one TropicalTrader with 2 thanks per post
    2. looks_two Sawtooth with 1.7 thanks per post
    3. looks_3 aBuzz54 with 1 thanks per post
    4. looks_4 luckcity with 0 thanks per post
    1. trending_up 65,823 views
    2. thumb_up 139 thanks given
    3. group 44 followers
    1. forum 182 posts
    2. attach_file 9 attachments




 
Search this Thread

Sierra Chart Worksheet System For Trading/Alert Discussions

  #171 (permalink)
sgne
Boston, MA
 
Posts: 10 since Dec 2020
Thanks Given: 2
Thanks Received: 1


tomgilb View Post
Not specifically.

Possibilities:
- The Limit entry order prices in J22/J24 are not the expected values at the time K3/M3 go true. Also, J71/J73 must be set to L.
- You are seeing slippage from lag due to system complexity, system configuration, or backtest speed,

Yes, these are vague answers, but they cover most of the causes. If you can provide more details of your setup where I could be more specific, and since this issue would not be related to post them here:

Until I get a new account set up with a new broker, all I can tell you is that I replayed it at a very slow speed and the buy limit order went out as expected, above where the low of the bar would soon be established, but mysteriously the fill was registered as below the low of the bar. Once I am up and running again, I will let you know about the J values. J71 was properly set to L and I will let you know what J22 is keyed to, in relation to BCDE values. And I will provide a screenshot. Thank you.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
 
  #172 (permalink)
sgne
Boston, MA
 
Posts: 10 since Dec 2020
Thanks Given: 2
Thanks Received: 1

A related, important issue is this:

I have noticed that when backtesting, whether fast or slow, price improvement of limit orders (not achievable in real market conditions) is recorded by the SC backtesting system.

I have guessed that this is due to the tick data in the scid file.

Is this an artifact of my spreadsheet coding or SC's problem?

Reply With Quote
  #173 (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: 219
Thanks Received: 603



Quoting 
I have noticed that when backtesting, whether fast or slow, price improvement of limit orders (not achievable in real market conditions) is recorded by the SC backtesting system.

I have guessed that this is due to the tick data in the scid file.

Is this an artifact of my spreadsheet coding or SC's problem

Backtests will always differ from live trading to some degree, but here are some things you can do to make it more accurate:
https://www.sierrachart.com/index.php?page=doc/Backtesting.php

Started this thread Reply With Quote
Thanked by:
  #174 (permalink)
sgne
Boston, MA
 
Posts: 10 since Dec 2020
Thanks Given: 2
Thanks Received: 1

So I've been trying to set up a spreadsheet system with two charts, where chart 2 generates the signals and chart 1 places the trades, same 15 minute bars and RTH session times: 845 - 1515 CT. I used multiple study/price overlays, putting everything on one sheet.

The entry signals seem to be working. However, now I must generate a stoploss order based on a theoretical chart 2 entry price. Of course the spreadsheet keeps track of the fill price based on the chart 1 price, but I need to determine a stoploss order based on a chart 2 price at the time the chart 1 fill occurred. Not sure how to register the chart 2 price at the time of the chart 1 fill. Any ideas?

Reply With Quote
  #175 (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: 219
Thanks Received: 603


sgne View Post
So I've been trying to set up a spreadsheet system with two charts, where chart 2 generates the signals and chart 1 places the trades, same 15 minute bars and RTH session times: 845 - 1515 CT. I used multiple study/price overlays, putting everything on one sheet.

The entry signals seem to be working. However, now I must generate a stoploss order based on a theoretical chart 2 entry price. Of course the spreadsheet keeps track of the fill price based on the chart 1 price, but I need to determine a stoploss order based on a chart 2 price at the time the chart 1 fill occurred. Not sure how to register the chart 2 price at the time of the chart 1 fill. Any ideas?

I assume the 15 min charts each use a different symbol.

You could use a blank cell H42 on Chart2's sheet with a formula like this:
=Sheet1!J42
Then use a Formula Column on Chart2's sheet with a formula like this to find the bar where that time occurred:
=AND($H$42>A3,$H$42<A2)

You will only be able to use the bar's timestamp, so if the entry occurred intrabar, that intrabar price will not be available.
If your entries are at close-of-bar, this shouldn't be a problem.

Started this thread Reply With Quote
Thanked by:
  #176 (permalink)
sgne
Boston, MA
 
Posts: 10 since Dec 2020
Thanks Given: 2
Thanks Received: 1


tomgilb View Post
I assume the 15 min charts each use a different symbol.

You could use a blank cell H42 on Chart2's sheet with a formula like this:
=Sheet1!J42
Then use a Formula Column on Chart2's sheet with a formula like this to find the bar where that time occurred:
=AND($H$42>A3,$H$42<A2)

You will only be able to use the bar's timestamp, so if the entry occurred intrabar, that intrabar price will not be available.
If your entries are at close-of-bar, this shouldn't be a problem.

Yes, different symbols, and chart 2 prices are overlaid on sheet 1.

Intrabar prices are what I'm dealing with, so I guess there's no straightforward or possible way to lock in the value. We can lock in T/F values, but not numbers. In any event, thanks again for your reply and help.

Reply With Quote
  #177 (permalink)
 Jesal 
Canada
 
Experience: Intermediate
Platform: SIERRA
Trading: ES
Posts: 26 since Apr 2015
Thanks Given: 93
Thanks Received: 8

I have my spreadsheet trading working as designed, thanks to this thread.

I have a filter that shows trending or mean reverting day. I have it output +1 for trend and -1 for reverting.

Is it possible to adjust the stops in the spreadsheet to trail stop on trending and fixed stop on reverting?

Kind of lost on how to go about it.
Appreciate any help...

Sent using the NexusFi mobile app

Reply With Quote
  #178 (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: 219
Thanks Received: 603


Jesal View Post
I have my spreadsheet trading working as designed, thanks to this thread.

I have a filter that shows trending or mean reverting day. I have it output +1 for trend and -1 for reverting.

Is it possible to adjust the stops in the spreadsheet to trail stop on trending and fixed stop on reverting?

Kind of lost on how to go about it.
Appreciate any help...

Sent using the NexusFi mobile app

For situations like this I use the Trade Management By Study study to move stops. It would reference a price in a Formula Column (a subgraph) that a formula returns.
https://www.sierrachart.com/index.php?page=doc/AttachedOrders.html
Scroll down to 'Study Controlled Targets and Stops'.
Note: the TMS study moves targets/stops of Attached Orders on the Trade Window.

So you would need a formula that does this:
=IF(Filter=1,TrailStopPriceFormula,IF(Filter=-1,FixedStopPriceFormula,0))
Each stop formula returns the price of the Stop, and the TMS study moves the Stop to that price.

To keep the formula simple, I also use two instances of the TMS study, and two spreadsheet Formula Columns, one for Longs and one for Shorts.
You could also separate the trailing stop and fixed stop by using two more instances of the TMS study.

You could also use a combination of the TMS study for the trailing stop, and L3/N3 for the fixed stop.
If so, set 'Cancel All Working Orders On Exit (ln:24)' to Yes.

Started this thread Reply With Quote
Thanked by:
  #179 (permalink)
 Jesal 
Canada
 
Experience: Intermediate
Platform: SIERRA
Trading: ES
Posts: 26 since Apr 2015
Thanks Given: 93
Thanks Received: 8

Thanks for the tips Tom, much appreciated.
I'm reading TMS now and will experiment with it.
Will report my progress/roadblocks here... Thanks again

Reply With Quote
  #180 (permalink)
fxSOL
Belgrade Serbia
 
Posts: 60 since Mar 2020
Thanks Given: 37
Thanks Received: 25


Hi to all,
A very nice thread. I am using spreadsheet formula to test some easy calculations and decisions.
Problem is that I can not get it to work. Basically I want to compare 2 different values - A and B.
If A is greater than B , then do this calculations
if B is greater than A, then to other calculation.

Have tried many options but I can not get it to work.
What I have done is this -

 
Code
=OR(id0.sg1[0] > id0.sg2[0], id0.sg1[0]  /  id0.sg2[0]), OR(id0.sg2[0] > id0.sg1[0], id0.sg2[0]  /  id0.sg1[0])

Reply With Quote




Last Updated on January 3, 2022


© 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