NexusFi: Find Your Edge


Home Menu

 





Study subgraph extend until future intersection


Discussion in Sierra Chart

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




 
Search this Thread
  #1 (permalink)
lwiddico
Longmont, CO
 
Posts: 1 since May 2021
Thanks Given: 1
Thanks Received: 0

The most basic thing I'm looking for is... Has anyone created or would be able to provide the code to make a study which takes a study subgraph, and provides the extend until future intersection function?

Ultimately... I'd love to take 2 subgraphs (SGs) and extend a rectangle that ends when both are breached. I'm really struggling with the programming and ACSIL side of things and was wondering if anything like this has been done or if its simple enough for someone to provide the code for it easily. My ultimate goal would be to take the high and low of the 2 candles before an event and extend a rectangle out from them (starting after the event candle) that would stop once both have been intersected. I hope any of this makes sense and I appreciate any bit of help you can provide. Thanks!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Asia Equities Crash Overnight -- Nikkei -5.2%, KOSPI -6. …
Traders Hideout
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
NYSE Owner ICE Invests in Crypto Exchange OKX at $25 Bil …
Cryptocurrency
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 
FatTailChaser's Avatar
 FatTailChaser 
Chicago, Illinois
 
Experience: Intermediate
Platform: Sierra Charts
Broker: Dorman
Trading: ZN
Posts: 10 since Apr 2022
Thanks Given: 1
Thanks Received: 14


lwiddico View Post
The most basic thing I'm looking for is... Has anyone created or would be able to provide the code to make a study which takes a study subgraph, and provides the extend until future intersection function?

Ultimately... I'd love to take 2 subgraphs (SGs) and extend a rectangle that ends when both are breached. I'm really struggling with the programming and ACSIL side of things and was wondering if anything like this has been done or if its simple enough for someone to provide the code for it easily. My ultimate goal would be to take the high and low of the 2 candles before an event and extend a rectangle out from them (starting after the event candle) that would stop once both have been intersected. I hope any of this makes sense and I appreciate any bit of help you can provide. Thanks!

Have you tried using the highest high/lowest low over n bars study and calling the bars values you need through that study or saving the study values after your entry signal inside one of your ACSIL study Arrays? I am not a C++ programmer but I do know some python from coding systems and trade through Sierra Chart so I think this is definitely possible.

You could save an empty variable in your system for each value you want to call, name them high and low. Write a statement if Buy Entry is true, high = x, low = x , etc, then when your exit condition becomes true use that to set your high/low variables back to 0.


Reply With Quote




Last Updated on September 17, 2022


© 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