OPEN-SOURCE SCRIPT

Signal generator

This simple script generates signals for testing the connection from TradingView to a REST API client via the webhook and demonstrates very basic concepts of gerenating alerts within the script.

This script also demonstrates how to visualize when a buy or a sell should take place and how to use diagnostics text for bug fixes/informational purposes.

This is for testing and learning only. Do not use with real money as losses WILL occur. This script is for educational purposes only and should only be used with demo accounts, never with real money.

Buy signals are generated when closing price is less then opening price.

Sell Signals are generated when closing price is greater then opening price.

Can also be used to test signal counting and very rudimentary dollar cost averaging.
alertalertsignalsCycleseducationeducational

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Join my Patreon for exclusive access to Jackrabbit TV,

patreon.com/RD3277
Também em:

Aviso legal