Is it possible to refer the past value?
In PineScript (version 4), I’m trying to draw half-straight lines starting from swing high-low pivot points. The challenge is that I can’t figure out how to selectively draw only the lines closest to the current price.
How to trigger multiple buy and sell signals when conditions to open and close trades are met
Would love someones help with the below code. I’m trying to open multiple buy and sell orders when the following conditions are met:
Pine VuManChu B Divergences valuewhen and series
I’m a beginner in pine coding not in “regular coding” and I’m having a hard time understanding what information the highPrev
variable holds from the bellow f_findDivs ()
function.
For reference, this is an extract of the VuManChu Cipher B + Divergences indicator which source can be found here : https://fr.tradingview.com/script/Msm4SjwI-VuManChu-Cipher-B-Divergences/