NexusFi: Find Your Edge


Home Menu

 





Starting from the very beginning with Sierra Chart


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one westernwind with 12 posts (7 thanks)
    2. looks_two Tiffsgreta with 8 posts (3 thanks)
    3. looks_3 Sawtooth with 4 posts (6 thanks)
    4. looks_4 magicTurtle with 3 posts (6 thanks)
      Best Posters
    1. looks_one magicTurtle with 2 thanks per post
    2. looks_two bobwest with 1.7 thanks per post
    3. looks_3 Sawtooth with 1.5 thanks per post
    4. looks_4 westernwind with 0.6 thanks per post
    1. trending_up 6,837 views
    2. thumb_up 38 thanks given
    3. group 10 followers
    1. forum 34 posts
    2. attach_file 2 attachments




 
Search this Thread

Starting from the very beginning with Sierra Chart

  #11 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


westernwind View Post
I used to spend hours in Excel every day, including a lot of VBA, and I've done quite a bit of work in R and Python, but I'm still trying to get my head around the SC spreadsheet paradigm.

I can see how to dump the data from a chart to a spreadsheet, manipulate it, and return it to the chart. That works fine.

What isn't clear to me is whether I can take data in a different timeframe, such as daily data when my chart is 5M, and extract a few bars to a spreadsheet. Let's say I want to be aware of where the daily EMA9 is right now, without actually plotting it on my chart. Ideally I'd like to have a small patch of a spreadsheet with that calc in it so I can refer to it when I want to.

If you have already done programming just make the jump straight to ACSIL and be done with it.

https://www.sierrachart.com/index.php?page=doc/Contents.php

Follow me on Twitter Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
17 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #12 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46


Trembling Hand View Post
If you have already done programming just make the jump straight to ACSIL and be done with it.

Thanks Trembling, I see you're too modest to link to your very useful threads on ACSIL here on FIO, but I will be studying those carefully if I do go down that route. It doesn't look that challenging (famous last words?) but I do like the exploratory nature of a spreadsheet.

The whole code/compile/test cycle can feel a bit laborious if you're used to interpreted languages. Question of weighing the pros and cons...

WW

Started this thread Reply With Quote
  #13 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46



steve2222 View Post
FYI F.io member @tomgilb is the resident expert on SC Spreadsheets

Thanks for the confirmation. That's a name I've seen about, both here and on the SC forum.

WW

Started this thread Reply With Quote
  #14 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,437
Thanks Received: 26,276


westernwind View Post
Thanks Trembling, I see you're too modest to link to your very useful threads on ACSIL here on FIO, but I will be studying those carefully if I do go down that route. It doesn't look that challenging (famous last words?) but I do like the exploratory nature of a spreadsheet.

The whole code/compile/test cycle can feel a bit laborious if you're used to interpreted languages. Question of weighing the pros and cons...

WW

I pretty much agree with @Trembling Hand, if we're talking about using the built-in SC spreadsheet interface to create studies. Note that SC can dump data out into an external spreadsheet for you to slice and dice, and it also has it own "spreadsheet" functionality where you use a spreadsheet-like interface to set up commands that execute on the platform's charts or enter trades, a way to do coding without doing code, basically. You can create indicators and automated trading studies this way, instead of using ACSIL.

I never used this because it looked too hard (but I think programming is easy, so what do I know? ) SC also warns that a study created this way will be significantly slower to execute and will take more resources.

As @steve2222 mentioned, @tomgilb has posted extensively on this type of "spreadsheet."

I just wanted to clarify the difference. I get the impression that you are interested in dumping data to an external spreadsheet like Excel, a different proposition, although I imagine there are ways to do that through the spreadsheet command interface (I'm sure you can do it with ACSIL code as well.)

As to the difficulty of ACSIL, it's like anything else -- it's hard until you learn it, then it's easy. They do have a basic study structure they want study code to follow, and understanding that is the key to everything else.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:
  #15 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46


bobwest View Post
I pretty much agree with I get the impression that you are interested in dumping data to an external spreadsheet like Excel, a different proposition, although I imagine there are ways to do that through the spreadsheet command interface (I'm sure you can do it with ACSIL code as well.)

Thanks for clarifying that, Bob. I wasn't envisaging using an external application. There are two things I'm interested in at this point.

The first is having a little panel in an intraday chart that shows information from different timeframes. I can't see any way to get this without resorting to ACSIL (maybe there is?) except perhaps by automated text object creation, and that could get cluttered. An SC spreadsheet might be a flexible way to do this for ad hoc info, a bit like a scratch pad.

The second is a study that automatically draws lines around two existing lines. For example, you define a channel, and it automatically adds levels above or below the channel, sort of like an automated version of the Horizontal Lines study. You define the top and bottom of the channel, and it slaps something like 23.6%, 38.2%, 61.8%, and 78.6% above and below (just using the Fib as an example). It would be a convenience for some things, and perhaps a nice way to start to get to know ACSIL.

WW

Started this thread Reply With Quote
Thanked by:
  #16 (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 
The first is having a little panel in an intraday chart that shows information from different timeframes.

You could use the Study/Price Overlay study on the intraday chart to overlay a study from a different timeframe. This allows you to use a formula on data from other timeframes, using either the Spreadsheet Formula study, or one of the spreadsheet studies.
Note: The Spreadsheet Formula study uses Simple Alert syntax; the spreadsheet studies use spreadsheet syntax.

If you don't need to use a formula on data from other timeframes, you could use the Text Display for Study From Chart study to put the current value of another timeframe on the chart. Use multiple instances as needed.

Quoting 
The second is a study that automatically draws lines around two existing lines.

You could use multiple instances of one of the arithmetic studies, (e.g. Study Subgraph Multiply study), or a single instance of the Spreadsheet Study study.

Reply With Quote
Thanked by:
  #17 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46

With my day job busy over the past few weeks I have been dragging myself closer to the game like a turtle heading down the beach to the water. Progress isn't rapid, or elegant, but it takes as much time it takes.

I've set up a trading simulator account. Had a nasty moment or two when I thought I might have to ask SC tech support for help, but I went back through the "help" files carefully - an experience a bit like being yelled at by the huge and slightly crazy gym teacher you had at high school - and managed to work out how to do it in the end. If you take your time, nearly (?) everything is there.

Next stop: trading on a real, live, uh... simulator. Is it wrong that I actually feel pretty nervous about opening positions even with paper money? Situation wasn't helped by my lack of familiarity with the trade window. It took me a while to work out how to set a stop and target at an absolute price, not helped by my deleting the initial settings from the Simple Bracket default order, so I had to add them later using Send Attached. I'm not scalping, so a tick here or there shouldn't have a huge effect on the outcome, and hopefully the simulator will offer a realistic experience.

As for my "strategy", there isn't one as such. I plan to spend a few months getting comfortable with the ins and outs of futures (I come from a stock market background), familiarising myself with the platform, and learning a bit about price action. Al Brooks' stuff has its detractors, but it looks like it might be a good place to start.

To my way of thinking, the exact approach I take isn't that important at this stage. I reckon that there's usually so much in a discretionary system that is not stated in the rules that you could give an "entire" winning system to a person and still watch them lose money. I believe that you have to internalise a system for yourself, through practise, so what I need/want is a vehicle for learning.

For that reason I'm playing with a simple channel system using 30 or 60 minute bars on the EURUSD (6E - can't seem to get the minis in the "Advanced" SC package, even on the delayed service), looking for price breaking above or below channel lines by a certain amount. Put a stop on the channel on opposite side to the position, plonk a target price down at a level equivalent to about 3-4x the width of the channel.

Win in 1 in 3, perhaps? I have no self-imposed rules about how often I trade, or how many pips I want a day. What's important is that I put trades in and see how they pan out, and whether that changes over time (hopefully for the better).

Obviously channel breakout approaches are two a penny. A naive system isn't going to make wheelbarrows full of money, so I won't call the local Aston Martin dealer just yet. But maybe over time I can learn and incorporate enough about what is or isn't a valid channel, about price action, timeframe congruence, volume profiles and the like to make something of it, or to find something better. If at the end I can't make it work, well <shrug> move on, move up, right?

Yesterday I put $25,000 in the sim account and opened a short position at 1.20925. Let's see what happens.

Started this thread Reply With Quote
  #18 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46

Having a few problems trying to work out which orders are client-based and which are on the server when it come stops and target prices. Is it OK to shut down SC?

WW

Started this thread Reply With Quote
  #19 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46


westernwind View Post
Let's see what happens.

Pretty much nothing, as it turns out. The position has spent half the time in the green (I think it touched 22 pips at one point) and the remainder in the red, up to around 11 pips. There doesn't look to be any larger momentum here, though I guess there has been room for scalpers to play. Congestion, trading sideways, whatever. Maybe that will change. I will let it play out, but maybe it would be sensible to have a time-based stop (perhaps discretionary?) as well as a price-based stop. "Close if the TP isn't hit in 48 hours" sort of thing. I wonder if SC can do that?

SC is displaying my fill, stop and target price on the chart. The lines are useful but I wanted to change the colours and widths. I find googling site:sierrachart.com with a keyword or two usually pulls up something useful, e.g.

site:sierrachart.com "show orders and position" color

In this case that got me to Chart Trading and the Chart DOM, and from there to Customizing Fonts, Colors, Line Styles, and Widths for Chart Trading, Chart [AUTOLINK]DOM[/AUTOLINK], and Trade DOM. That got me what I wanted, so I have customised them a little just to see how it works.

So far there isn't anything that I have found SC can't do, but then I'm not a demanding trader. I do find it very "quiet" as an application. It seems to consume very few resources, just sits there and behaves itself. Which is nice. When I'm working at the day job, I don't want my trading platform grabbing the focus at odd intervals. If all goes well, longer term I would use a laptop PC and run SC on that, separately from my day job PC, and use Remote Desktop Connection to check in.


Started this thread Reply With Quote
  #20 (permalink)
 westernwind 
Cardiff, UK
 
Experience: Beginner
Posts: 34 since Mar 2021
Thanks Given: 74
Thanks Received: 46


Funny how life works. In a separate thread I saw "Phantom of the Pits" mentioned. It's a free book published online. Chapter 5 starts with this comment from the Phantom.

Quoting 
This day is an example of the reason for this book. The grain market did a total surprise on most traders. Oh, there were those who were fortunate to be on the right side, but most of them took their positions off too soon. I wanted to discuss the shock most traders get on a day like today.

A great number of traders got what we call "killed" today in the grain market. Most all of the new traders are now wondering what they did wrong today. There isn't anything they did right today because they most likely don't know what the right thing is. I don't mean that all traders are in the dark. I am talking about those who fail to understand what to do and, if they do, don't carry out that requirement.

I am going to express the importance of doing the right thing from the beginning of a trade and at the right time.

Many traders -- and most new traders -- aren't even aware the market can do what it did to them today. I have often said the BIG money is on the surprise side. I should perhaps have said the BIG LOSERS are on the familiar side or the popular side of a trade. I call that the expected side.

(Bold is my emphasis.) Turns out that yesterday was that kind of surprising day for me. From my perspective it had been a boring, range-bound session. In between working my day job I was exploring charts in SC and monitoring the market. I could see some volatility at smaller time frames then suddenly BOOM! A spike on the 60M, that green bar at the center left of the screenshot below, took the share price well and truly above my fill (the dotted white line).

This looked to me like a clear change of market tone, so my first instinct was to wait and watch for a pullback then get out. I don't like averaging down. The price did pull back and I was within a pip or two of my entry price. I got ready to go flat.

Then I thought "Hang on, this is about learning about how to feels to lose as well as win, and becoming inured to that feeling of taking a loss, right?" I also want to see how this channel breakout approach works, and I can't do that unless I trade it. So I took my hands back off the keyboard and grimly decided to ride it out.

It's a sim account. I had a stop in place. I was in no financial danger - in fact I had literally nothing to lose. But the important point is that at a visceral level I disliked it. Why? Wounded pride? Intellectual vanity? A good fraction of my trades are going to be losers. If I can't take losses with a shrug and a wry smile, I'm not going to be able to trade successfully.

Anyway, three hours later my stop (the solid red line) was triggered and I was out at 1.21215, a loss of 29 pips. SC is showing a cute little flag on that bar. Once commissions are taken into account I'm down $370.75. This is for a full contract. Suddenly I can see that if I were using real money it would make sense to trade the minis, or even micros as recommended by Big Mike.

So, I have the first trade under my belt, but I'm not finding SC's trade logs very useful. The Trade Account Monitor window shows me where I am, but the Trade Activity Log doesn't show me the activity over the past few days. I guess there is some kind of filter in operation; will have to look into that. What I want is a list of entry and exit prices and commission paid, but I haven't found that yet.

No real chance to play with SC today as I was travelling. I want to look at ACSIL to put together some little convenience functions but I'm really busy at work for the next few weeks, so that may have to wait.


Started this thread Reply With Quote




Last Updated on June 19, 2021


© 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