TradingView
RobertD7723
23 mag 2022 23:44

Signal generator 

XRP / TetherKuCoin

Descrizione

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.
Altro