Support Board
Date/Time: Fri, 27 Dec 2024 06:59:23 +0000
[Programming Help] - How get Audio Alert on Renko chart?
View Count: 2565
[2020-04-04 13:49:01] |
rainbow47 - Posts: 68 |
Hi, I am still on trial and make myself familiar with SC. I guess I managed to understand the basics of creating Charts, Studies, Quoteboards but I now want to test SC's replay funtion and automated trading. Can someone help me to get started with the questions beolow? 1.) How do I play a sound when the colour of a Renko bar changes? I am using "Flex Renko Bars - Gap Fill - New Trend Bar When Range Exceeded/New Reversal Bar When Reversal Amount Met Plus 1 Tick an dReferences Prior Close" I don't know if I am doing it right but I added Study: ID1: Color Bar Based On Alert Condition (did not change any settings) Setting: 20-15-15 In Chart Settings/Altert I tried the following line but I do not get any alert on Bar colour change (trend change) =OR(AND(ID1.SG23[-1] > ID1.SG22[-1] , ID1.SG23 < ID1.SG22), AND(ID1.SG23[-1] < ID1.SG22[-1] , ID1.SG23 > ID1.SG22)) Any help what I am doing wrong and how to activate an alert? 2) How do I automate a trading strategy? Let's say for testing purposes I have a Renko chart for the S&P 500 Future and I want the program to take automatically a long or short position when the Renko trend changes. The quantitiy is between +1 and -1 contracts and the software should keep me in the market the whole time (eg. reversing the position everytime the trend changes) Thank you! Date Time Of Last Edit: 2020-04-04 17:57:17
|
[2020-04-04 23:38:19] |
Ackin - Posts: 1865 |
ad 2) Try Study Trading system Based on Alert (SierraChart study from default list) Trading System Based on Alert Condition |
[2020-04-05 14:32:50] |
rainbow47 - Posts: 68 |
Thank you Ackin. Managed to figure out the auto trading but still struggling with the audio alert for colour/trend change while using Renko bars. Any help? |
[2020-04-05 15:08:20] |
Ackin - Posts: 1865 |
I can only ACSIL (c ++). Alerts are not my hobby. If you want I create study for this.... |
[2020-04-05 15:17:33] |
rainbow47 - Posts: 68 |
Thank you Ackin,. C++ is beyond my abilties. I do not even know how to implement/modifiy a C++ study.
Date Time Of Last Edit: 2020-04-05 15:17:54
|
[2020-04-05 15:25:18] |
Ackin - Posts: 1865 |
You don't create anything ... I'll create a study, add that study to the library ... you just download the library and add it to your Sierrachart and find it in the studies list. How to register and download more than 160 already created studies. The list is still growing. https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free |
[2020-04-05 17:43:56] |
rainbow47 - Posts: 68 |
Wow, this is amazing. I will register and start working with your library. Thanks a lot Ackin!
|
[2020-04-05 18:22:04] |
Ackin - Posts: 1865 |
Email with login sent ...
|
[2020-04-05 18:25:22] |
rainbow47 - Posts: 68 |
Thank you vewry much!
|
[2020-04-06 18:44:45] |
Ackin - Posts: 1865 |
rainbow47) It's done Study: Renko change trend + marked change trend (after change Renko close but also for Close price above/bellow Renko open) + signals as SG's for trading system input + audio alert You can download it... |
Renko change trend.png / V - Attached On 2020-04-06 18:41:02 UTC - Size: 9.32 KB - 379 views |
[2020-04-06 19:26:23] |
rainbow47 - Posts: 68 |
Thank you so much Ackin. Very kind of you! Everything works perfectly. Just wondering, What is the Offset Tick parameter for? |
[2020-04-06 21:24:14] |
Ackin - Posts: 1865 |
What is the Offset Tick parameter for?
marker shift in ticks
|
[2020-04-08 20:18:38] |
rainbow47 - Posts: 68 |
Hi, I am trying to play around with the Auto Trading in Sierra Chart. For testing puproses I want to use Ackin's study and but the market on "Signal Renko Up (SG3)" and reverse the position on "Signal Renko Down (SG4)". I guess I have to use "Tarding System based on Alert for this". I am now struggling with the code which I have to put in for the Alert? Can anyone help? Thanks |
[2020-04-08 21:18:22] |
Ackin - Posts: 1865 |
Hi, You put the Trading System study there twice. One for long and the other for Short. Alert window settings: =IDx.SG3>0 where X is the Renko study ID number ................... second Alert study Alert window: =IDx.SG4>0 Date Time Of Last Edit: 2020-04-08 23:19:51
|
[2020-04-08 21:23:23] |
rainbow47 - Posts: 68 |
Thank you Ackin. So basically when the Trend change is true the number changes from 0 to 1?
|
[2020-04-08 21:39:00] |
Ackin - Posts: 1865 |
Yes, SG has value ... ********************** Do you know the collections? On the forum I give a collection to download already with settings. All you have to do is allow trades and set up PT and SL in the trade window Date Time Of Last Edit: 2020-04-08 23:20:39
|
[2020-04-08 21:50:23] |
rainbow47 - Posts: 68 |
NO, I don't know the collection studies. Do you have the link?
|
[2020-04-08 21:56:07] |
Ackin - Posts: 1865 |
A study collection is a saved set of studies and their settings that can be applied to the chart with one easy step. How to Use an Advanced Custom Study or a Study Collection: How to Use a Study Collection and also: Study Collections check your email Date Time Of Last Edit: 2020-04-08 21:57:22
|
[2020-04-08 22:17:24] |
rainbow47 - Posts: 68 |
Great, I will look into it. I am looking to build the following system in SC. A Renko trading system which goes long when at least 2 upbricks appear after a downtrend of 2 bricks or more and goes short when 2 downbricks appear after an uptrend of 2 bricks or more. Is that something I could find in your library. I am still new to SC and struggling how to implement it. |
[2020-04-08 23:00:43] |
Ackin - Posts: 1865 |
Everyone has some strategy that will work in different hours on different days or different market differently in profit. I only make tools to facilitate your own research (or manual trading). They are still just tools or semi-automatic algorytms. You have to use your own idea "How set it" ...for your own benefit. I sent you link to study collections Renko Trend (to your registr-email ) |
[2020-04-09 10:43:00] |
rainbow47 - Posts: 68 |
Agreed Ackin. Don't worry, I won't go live with this study and just trade it. I am trading markets manually for 20 years and have my approach to it. But I am new to SC and all the technical elements around it. Therefore I will start with something simple first and see how I do this in SC. From what I learn during the process and I can build hopefully more sophisticated studies in the future. For now I just want to find a way in SC to have a Renko trading system which goes long when at least 2 upbricks appear after a downtrend of 2 bricks or more and goes short when 2 downbricks appear after an uptrend of 2 bricks or more. In a peferct world the number of up/downticks to trigger the trade could be modified. I am struggling to find out if I could do this with your "Renko Change trend" study which you published or if it would require a more enhanced study with more parameters (eg. set the trigger point manually)? |
[2020-04-09 11:45:47] |
Ackin - Posts: 1865 |
I will add this as a parameter, it will be in the update tonight
|
[2020-04-09 11:49:57] |
rainbow47 - Posts: 68 |
Thank you!
|
[2020-04-10 08:48:08] |
rainbow47 - Posts: 68 |
Hi Ackin, May I quickly check with you where I find the latest update? Do you release it in the same forum/thread as before? Thank you for all your help! rainbow |
[2020-04-10 11:26:51] |
Ackin - Posts: 1865 |
May I quickly check with you where I find the latest update? Do you release it in the same forum/thread as before?
Yes, It's done |
Renko change trend 2b.png / V - Attached On 2020-04-10 11:26:49 UTC - Size: 33.05 KB - 439 views |
To post a message in this thread, you need to log in with your Sierra Chart account: