NexusFi: Find Your Edge


Home Menu

 





Trying to create a study


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Mickey Caine with 5 posts (0 thanks)
    2. looks_two Jolew with 3 posts (1 thanks)
    3. looks_3 Nicolas11 with 2 posts (1 thanks)
    4. looks_4 trendfriendpa with 2 posts (1 thanks)
      Best Posters
    1. looks_one cory with 1 thanks per post
    2. looks_two trendfriendpa with 0.5 thanks per post
    3. looks_3 Nicolas11 with 0.5 thanks per post
    4. looks_4 Jolew with 0.3 thanks per post
    1. trending_up 5,105 views
    2. thumb_up 4 thanks given
    3. group 5 followers
    1. forum 15 posts
    2. attach_file 0 attachments




 
Search this Thread

Trying to create a study

  #1 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

I am new to Sierra, I have a very rudimentary knowledge of Easylanguage and a lot less of C++. I would like to create a very simple study. The EL code is

if High > Highest( High, Length )[1] then
begin
Plot1( High, "BrkoutHi" ) ;
Alert ;
end ;

Also, I did attend the webinar last night and asked whether candlestick wicks could be thicker, unfortunately the speaker, when answering increased the size of a bar chart. does anyone know if this can be done?

Any help on these questions would be appreciated.

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
 
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
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #3 (permalink)
 Jolew 
San Jose, CA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
Posts: 113 since Jan 2011
Thanks Given: 54
Thanks Received: 97


Take a look at the Donchian Channel study. i believe it does something very similar. You can add an alert to it if you want and select which graph you want to plot.

They actually did show the candlestick wick width increase. Global settings > graphic settings and change the width of Bar High-Low Up and Bar High-Low Down.

Reply With Quote
  #4 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

Thanks for that Jolew. Currently playing with the Dochian channel, fingers crossed. I did see what he did re the wicks. It does not seem tmake any difference to my existing charts. However when I created a new one it does. strange but true. Still I will persevere.

Thanks again

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

Dochian channel mirrors what I want so thanks for that. However, SG1 is the high side line, do you know what I should type into the condition box so that the alert will sound when price breaks that line. Have tried SG1>0 and also SG1>1 but toi no avail.

Cheers

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 Jolew 
San Jose, CA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
Posts: 113 since Jan 2011
Thanks Given: 54
Thanks Received: 97

Try SG1>SG1[-1]

Reply With Quote
  #7 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

Thanks for your continued help.. Yes that does work, HOWEVER, it only sounds off on the close and I do not have that box checked. Any ideas? Also for the low side I presume it would be SG2<SG2[-1]

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #8 (permalink)
 Jolew 
San Jose, CA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
Posts: 113 since Jan 2011
Thanks Given: 54
Thanks Received: 97

Sorry. I hadn't looked at the study. I think you might have the displacement set to 1. If you set it to 0, then it should work.

You might also be able to use with displacement of 1 and use C > SG1

Reply With Quote
Thanked by:
  #9 (permalink)
 
Mickey Caine's Avatar
 Mickey Caine 
Kent, England
 
Experience: Intermediate
Platform: Sierra
Broker: Infinity
Trading: Oil
Posts: 196 since Jul 2009
Thanks Given: 1,605
Thanks Received: 354

It only worked!!!!!!

Thanks. off to the pub to celbrate. I will set up the short version later


Your help is much appreciated

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #10 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599


I have never looked at SC code. But am curious, what is "SG1" - other than a pretty good TV show

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 3, 2013


© 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