Hello, I use this script daily so I thought it might help some of you guys out! WHAT IS THE SCRIPT This script can show two custom trading sessions and up to three specific dates and hours to keep in mind while trading (for example a news release). WHY USE THE SCRIPT My trading plan tells me to trade from 08:00am to 10:00am (GMT+1) and not to let open trades...
Hello traders, This is a script I use daily as a scalper and it helps me a lot, maybe it can help you, this is why I am sharing it! PART 1 - DESCRIPTION This program is specifically designed to help scalpers but can be used for all types of trading but won't be as useful. This script is what I call an entry helper as it calculates dynamically the position size,...
Looking into a question from user Alex100, i realized many people do want some kind of values displayed on chart when they hover the mouse over different bars. As pinescript does not have any feature like pop up box, the only way is to plot a line and than see indicator values at top left. So when mouse is moved around the value displayed changes. As we just...
Ever wish you didn't have to rapidly flip between 6 different intervals to get the full picture? Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays? Yeah, I did too. Both of those birds are taken care of with one stone! The Consolidated Interval Display uses the new Array structure and security to display...
This is just published for visibility as a public service until the Pine devs are able to fix or document this behavior. The barssince() function returns different values when inside a conditional context. As long as it can be documented (and relied upon), this could be a pretty cool feature, but right now this is now how I read the help documentation to...
Hello All, Here is a scirpt of ChrisMoody modified with the alerts of purchases and sales. I just have a problem with automation. At the bottom of my script my alerts "Buy1" and "Sell2" give alerts constantly and I wish to have a single alert before the order is completed. Before "Sell1" or Buy2 ". I found the function "barstate.isfirst" that could possibly...
This is the bare bones of what I'm trying to achieve through pine script. The purpose of the script is to: 1. On a 15m chart, calculate and plot upper & lower Bollinger bands and simple moving average of 20 periods. (DONE) 2. On a new day, when the first 15m candle of a session forms, I want to check if a) the low of the new candle is outside the upper Bollinger...