NexusFi: Find Your Edge


Home Menu

 





Study subgraph extend until future intersection


Discussion in Sierra Chart

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




 
Search this Thread

Study subgraph extend until future intersection

  #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?
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Increase in trading performance by 75%
The Elite Circle
 
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
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
11 thanks
HumbleTraders next chapter
11 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


© 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