Simple Plot

Job ID: 34487521

Budget: $30 – $250 USD

This is a 2 line Plot that compares the value of each line at bar close AND compares the Price - Did price close higher or lower. If all conditions met it will plot an up arrow under the bar or a down arrow above the bar.

IF Purple Line is below Orange Line
AND Price Closes Lower than Previous Close
AND Purple Line Closes Higher than Purple line Previous Close
Then Plot Green UP Arrow below price bar

IF Purple Line is Above Orange Line
AND Price Closes Higher than Previous Close
AND Purple Line Closes Lower than Purple line Previous Close
Then Plot Red Down Arrow Above price bar

I use the continuous contract 1! Symbol for each line. Because this is market specific and proprietary I will give you the basic formula for each line and will modify the code on my side when project is over.

Purple Line = (Symbol1! * 3) - Symbol1!
Orange Line = Symbol - Symbol
Related categories: Pine Script Trading