Trading view script

Job ID: 37523104

Budget: $30 – $250 AUD

"I'm looking for a script that creates two lines extending to the right:

During an upward trend:

The first upper line starting point should start at the highest recent price on the 50EMA point, and the second ending point should pass through the current 50EMA point projecting the line to the right,

The second lower line starting point should start at the lowest recent price on the 200EMA point, and the second ending point should pass through the current 200EMA point projecting the line to the right.

(see attached example)

During a downtrend: the opposite of an uptrend should happen.

These lines need to automatically update as price changes and adjust across different time frames
Related categories: JavaScript Metatrader Pine Script