Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 19:29:54 +0000



Post From: New autotrading study released

[2018-05-11 15:58:26]
@sstfrederik - Posts: 403
With my SST autotrader study you can set up a fully automated trading system with three things: a long signal SG, short signal SG and the SST autotrader study.

A signal SG can be easily constructed using the "Color bar based on Alert condition" study. I recommend naming this study with a Short Name so you can easily select it within the SST autotrader study settings.

Setting up a long signal using your favorite simple alert conditions is easy. Say you have an alert condition that is working for you on your current chart. Just name the CBBOAC study and fill in your valid alert condition. Now it's ready and you can select it as a reference for the SignalStudy Long input in the autotrader.

Setting up a short signal study is still easy, we just need to add a little trick in the mix. Say you constructed a valid alert condition sequence which is working for you. Just for simplicity sake say that this condition is: C>SG1

You need to do the following to have your short signal ready:

- again name the shortname in the CBBOAC study for easy reference
- set "Use -1 on false" to "yes"
- change the alert condition slightly to: =!(C>SG1)
- set the Colorbar SG1 drawstyle to Ignore

The ! and brackets () around the original short condition is to make sure we generate the -1 we need. The short condition itself does not need to change.

This will be your Signal Study reference for shorts inside the autotrader. Almost done here and you can start to test the autotrader.

--------------

Make sure the signal study is above the SST Autotrader study in your study list. This will prevent missing signals due to study precedence issues.

------------

If you want a good visual of your signals, I recommend using the "Color Background based on alert condition" instead of the "Color bar based on alert condition".

Say ID1 is the long signal study we just constructed and ID2 is the short one. Setting op a visual is as easy as using this alert condition =ID1.SG1=1 for the long visual and =ID2.SG1=-1 for the short visual.

-----

Let me know if there are any questions.

Frederik
Date Time Of Last Edit: 2018-05-12 13:24:01