Hello everyone, I'm new to the forum and I just want to say you guys have done a great job and I love all of your work!!
I'm trying to code an indicator with 2 conditions, this is using 3 MA's (MA 6, MA 24 and MA 90)
Declare upper
First Condition:
If Line 1 (MA 6) crosses line 3 (MA 24) at Line 2 (MA 90) then plot red arrow above
The candle and plot a red cloud above the candle until condition 2 hits
Second condition:
If Line 3 (MA 24), crosses line 1 (MA 6) at line 2 (MA 90) then plot Green arrow below
The candle and plot green cloud below the candle until condition 1 hits
But it has to be when they cross at Line 2. I'm using MA's as an example.
Here is an image of what I'm trying to accomplish! any help is truly appreciate it!
I'm trying to code an indicator with 2 conditions, this is using 3 MA's (MA 6, MA 24 and MA 90)
Declare upper
First Condition:
If Line 1 (MA 6) crosses line 3 (MA 24) at Line 2 (MA 90) then plot red arrow above
The candle and plot a red cloud above the candle until condition 2 hits
Second condition:
If Line 3 (MA 24), crosses line 1 (MA 6) at line 2 (MA 90) then plot Green arrow below
The candle and plot green cloud below the candle until condition 1 hits
But it has to be when they cross at Line 2. I'm using MA's as an example.
Here is an image of what I'm trying to accomplish! any help is truly appreciate it!