Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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!
Can you help answer these questions from other members on NexusFi?
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.