![]() I_colb = input.bool(true, "Color Trend on price bars", group = GROUP_VOLUME_OPTIONS) I_bands = input.bool(false, "Show Pressure Band", group = GROUP_VOLUME_OPTIONS) ![]() I_p = input.int(21, "Lookback Periods", group = GROUP_VOLUME_OPTIONS ) GROUP_VOLUME_OPTIONS = "Volume Pressure Options" PRESSURE -COMPOSITE- WEIGHTED MOVING AVERAGE by shorttitle="VPMA_XeL", overlay=true) I'd be grateful for any kind of help, as this is now beyond my capabilities to understand how it works. It does something but it fails to calculate the color of candles correctly when compared to original. This is the script I'm trying to convert: Īnd here's the result so far. I've done a lot of refactoring to the best of my knowledge but I'm not sure how V1 worked with regards to self-referencing undefined variables inside functions. I'm trying to convert a Pine code from V1 to V5 but I can't seem to get it right.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |