Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 12:25:29 +0000



[Programming Help] - swing high/low study

View Count: 1830

[2020-04-23 17:43:31]
cfuture - Posts: 64
I am currently trying to create an alert for this study, but somehow it is failing to work. It comes up true all the time. I am using as an example the following for gbpaud:

=or(c>=sg2[-1]+0.000002, c<=sg2[-1]+0.000002)

It makes no difference if I change any of the variables such as whether it is a swing high or low, number of swing highs/lows back, or the decimal places.

I am assuming the swing high has the reference of that high or the swing low the reference of that low.

Is it even possible to create an alert as such for this study?
Date Time Of Last Edit: 2020-04-23 17:46:25
[2020-04-23 18:18:58]
Ackin - Posts: 1865
Hi, you can download study for that...
look at:
Swing high low pivot line

ACSIL study Swing H/L pivot line
post #3,#4
image
https://www.sierrachart.com/Download.php?Folder=SupportBoard&download=29152





contact link:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free
Date Time Of Last Edit: 2020-04-23 18:20:06
[2020-04-24 14:18:11]
cfuture - Posts: 64
thanks again for the info. I have contacted them and awaiting their reply, but until that happens I am still looking for a solution. I have tried the spreadsheet study and it works, but ... I have 16 chartbooks and with that many calculations happening, the software tends to lockup for a few seconds. This can be a hindrance when I need to do something. Do you have any solutions or advice regarding the spreadsheet study? Is it also possible to use one formula source sheet for multiple chartbooks?
Date Time Of Last Edit: 2020-04-24 14:26:32
[2020-04-24 14:33:19]
Ackin - Posts: 1865
You wrote me from several emails (maybe). I registered a nick "cfuture" on our forum. You can download a study that has 100 times more options than the basic Sierrachart study. Then you don't have to do so many spreadsheet calculations.

I am assuming the swing high has the reference of that high or the swing low the reference of that low.

Is it even possible to create an alert as such for this study?
Tonight I will also complete a calculation between the last two swings and the current price for automatic systems. More people are asking for this ....



C ++ code will always be faster than Spreadsheet. If graphic calculations would hinder your calculations in the future, it is possible to convert them to a module that will work entirely in a block of memory. Everything is possible ... I will answer other questions on the CZSK forum (here it would be spam).
[2020-04-24 17:26:58]
cfuture - Posts: 64
I only registered today for your forum. I am trying to find the file to download and a description of what the study performs. I am also looking for the coding to the current study or can you provide the code you have written for the study?
[2020-04-24 18:33:19]
Ackin - Posts: 1865
I only registered today for your forum. I am trying to find the file to download and a description of what the study performs. I am also looking for the coding to the current study or can you provide the code you have written for the study?

Name: Swing H/L pivot line
Code: No, only DLL compiled file
Description: there is in the folder Descriptions (Studies descriptions / Zyp download free (2019) - descriptions)
Download: folder "Last update file Free1", There are three libraries (three files) for free download containing more than 200 studies

I will implement your requirements for SG showing the difference between the price and the H / L swing at night, it will be in a new update tomorrow. The update is almost every day, on average 1-2 new studies are created every day. More information, including the help of another 100 active traders in sierrachart, can be found there.








But... it is possible that someone will help you here and find another way to display it effectively
[2020-04-24 18:55:12]
cfuture - Posts: 64
I was looking around at other possibilities such as trying to retrieve the data for those bars indicated as swing h/L and then compare the current price accordingly. Does that sound possible as well?
[2020-04-24 19:04:12]
Ackin - Posts: 1865
I was looking around at other possibilities such as trying to retrieve the data for those bars indicated as swing h/L and then compare the current price accordingly. Does that sound possible as well?

Input4
imagelast 20.png / V - Attached On 2020-04-24 19:04:08 UTC - Size: 25.99 KB - 391 views
[2020-04-24 19:08:00]
cfuture - Posts: 64
looks good
[2020-04-24 19:10:44]
Ackin - Posts: 1865
Download and try it...It's free...

If you want to make some adjustments, write right there, I don't check all the threads here, but there I do.

See you ....
[2020-05-06 01:09:16]
cfuture - Posts: 64
I have no way of contacting you on your website. I was wondering if you could give me the code since it is free.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account