TradingView
gamer456148
Dec 28, 2017 7:18 PM

Volume & Intraday Script 

Description

I am still learning pinescript, and part of this was created using the Pine Script language reference manual. This includes looking at the time series, a fixed length, and the default intraday_loss variables. This also includes the basic fixed lengths for an swma (Symmetrically weighted moving average) and the script to start creating a strategy. All in all this is just a basic sample of pinescript that you can customize for your trading needs. This can work with Cryptocurrency but these moving averages usually work more efficiently for forex.
Comments
syracusepro
What is the variable Y? It is X as the modulus formula? Thanks.
gamer456148
@syracusepro, X and Y are the axis. The buy and sell strategy on that is looking at the wave pattern of the charts to figure out simple stress and moving averages. Ofcourse though, this indicator can be improved because the number of ticks depends on what pair you are trading. All indicators though, should be strategy tested on a sandbox environment before running in real life.
More