TradingView
jason5480
Mar 19, 2023 1:36 PM

Click Signal Indicator 

Ethereum / TetherUS PERPETUAL CONTRACTBinance

Description

This is a Signal Indicator that emits signals based on mouse clicks when the indicator is added to the chart, or later on in the "Settings/Inputs" tab by changing/selecting the open time of the desired bar of each one of the signals.
It is designed to be used as an External Input for the "Template Trailing Strategy" to verify the correctness of the features the aforementioned script offers, and to provide an easy way to play around with this framework.
Last but not least this script offers a way to debug and report problems when this is necessary. Moreover, this script is a simple example you can copy-paste and create your own custom signal indicator that can be "plugged into"
the "Template Trailing Strategy" taking advantage of all the fancy stuff the TTS framework can provide!
To connect this signal indicator to the TTS you have to change the "Deal Conditions Mode" to '🔨External' and the 'External Input 🛈➡' to 'CSI:🔌Signal' in the TTS "Settings/Inputs" tab. For more information check the "Template Trailing Strategy - Part 02" video tutorial.

Release Notes

  • Use crossover time condition instead of equal to better adjust in higher timeframes that don't have the exact given time as a close time.

Release Notes

Update internal libraries

Release Notes

Refactor and update internal libraries

Release Notes

Update internal libraries
Comments
kofiantwi1
Doesn't work.
sahineser
why so kompliziert?
alshamikh
Can you help us with the correct setting of the indicator, as the signals do not appear
jason5480
Hello @alshamikh. After adding the indicator in the chart you will be asked to select a bar 8 times one for each signal. There are signals for entry (long/short) that should be shown in your chart after the selection with triangles (above/below) the bars you selected. Then there are exit signals that are shown using a squares and there are cancelation signals for both entry and exit that are represented by X marks. Then you have to connect this indicator as an External Input to the TTS script to see the trades to go through. The video "Template Trailing Strategy - Part 02" could help you to do this connection to TTS. I also have some instructions in the description of this publication.
alshamikh
@jason5480, Thank you very much for your response
Where can I find the video that explains this? I did not find it on the page. Can you provide me with it? Thank you very much
jason5480
@alshamikh, Here I explain how you can connect a "signal indicator" to the "Template Trailing Strategy" script so you execute your signals. The video shows an other signal indicator the "Two MA Signal Indicator" but the process is the same.
. In short, you have to put both TTS and CSI to the same chart and to connect this signal indicator to the TTS you have to change the "Deal Conditions Mode" to '🔨External' and the 'External Input 🛈➡' to 'CSI:🔌Signal' in the TTS "Settings/Inputs" tab.
cosminsendrescu
it only tell me to click on candle that is long signal...doesn't work well
jason5480
Yes @cosminsendrescu this is what it does! What do you mean by "well"? Did you get he plot shapes in the chart after clicking? If yes then you have to follow the instructions in the description and connect those signals to the "Template Trailing Strategy" script to see it's effects.
More