I have the following code: Here, if left = 3, I should get the highestHigh and lowestLow for length equal to 3, but it shows the highestHigh and lo ...
I have the following code: Here, if left = 3, I should get the highestHigh and lowestLow for length equal to 3, but it shows the highestHigh and lo ...
To lower the mess, I moved one of my overlayed indicators into a Pane but needed to plot bars there, too, so see the chart context. Plus, I re-color b ...
I have created a custom indicator that fuses 4 different indicators, each indictor has a buy and sell boolean signal. My indicator requires 3 out of t ...
I am trying write a script which allows a user to detect an inside bar on a higher (user selectable) timeframe. and color all the bars in the current ...
I have my own Pine script strategy V5 and it's profitable on almost all forex pairs and XAU pairs as well. However, it's somehow inflated because it i ...
Is it possible to remove all previous Long and Short signals Except the last one..? Here is the code Here what i use after searching on google B ...
Extremely new to coding in all senses and trying to combine a zlsma indicator with a macd indicator to give buy and sell signals when the indicators c ...
How can I force my pine script code to enter only one trade per bar even if this trade has been closed due to SL/TP, I want to force it to wait until ...
I have an old script that is Version 2 I believe, and I need assistance with it to convert it to Version 5. Its a short script nothing long, as my kno ...
I have my own Pine script strategy that plots some indicators in separate window (not on the main price chart). However, I want to draw a line for the ...
My objective is to conduct a technical analysis of the MACD line and signal line. To achieve this, the following methodology has been established: 1. ...
// Bollinger Bands and Fibonacci retracement trading strategy // Bollinger Bands settings // Bollinger Bands calculation // Fibonacci retraceme ...
Hi Im trying write this for my custom indexes, Custom Index = NSE:UPL+NSE:PIIND+NSE:BAYERCROP+NSE:SHARDACROP+NSE:BHARATRAS I want to split each stoc ...
Whenever there is a breakout candle I want to store the low of the bar as the stop. Then whenever price reach below the value, I want it to create an ...
Lets say I have time_1=time[100] and time_2=time[1000], is there any way to find the highest and lowest values between time_1 and time_2? ...
I'm trying to create a custom volume script and have calculated the last 30 days volume average using, what I think is the correct code: The data i ...
Trying to figure a way for when you click on certain timeframe, it will automatically change the EMA to a different value than what it was on. For ex ...
Trying to plot a shape on the previous week's high, but having difficulty getting it to plot. Hope someone can help here ...
I'm practicing to code indicators using pine script. To practice I traying to create all in one indicator with combining MA and EMA lines. I label the ...
basically my main issue is if condition_1 show Long signal on one candle so loop or something else will start and when condition_2 show long signal on ...