Is there a way of designing a custom formula for specific indices crossing above or below a ema?

Thank you for your prompt response!

Thank you Stock Guy how would this be presented for version 7 ?

Did I miss the response to my quiry?

How to best replicate this formula? Does it start with (HL)/2 etc or do you use ABS (HL1)/2
Take any given stock and look at all the daily bars for the past 10 days. Next subtact all the highs from all the lows to get all the daily ranges for each of the 10 daily bars and then calculate the average range for those ten days. Let's call this AVERAGE DAILY RANGE. Next divide each daily range by two to get the midpoint for each day. Now find the average midpoint for the 10 days. Let's call this AVERAGE MIDPOINT. Next take 125 % of the AVERAGE DAILY RANGE and add it to the AVERAGE MIDPOINT and that becomes our trading signal to buy tomorrow.
Thus we have created a signal using only two parameters, AVERAGE DAILY RANGE and AVERAGE MIDPOINT.
Thank you in advance!

This is weekly version (O4 + MAXH5 + MINL5 + C) / 4 if I want to weight the open
higher based on my assumption that it is twice as important would this be formula
(O4*2 + MAXH5 + MINL5 + C) / 5 >AvgC3 ?
and how would I write a crossover form last week (O4,1*2 + MAXH5,1 + MINL5,1 + C,1) / 5 >AvgC3,1
(O4*2 + MAXH5 + MINL5 + C) / 5 >AvgC3 > (O4,1*2 + MAXH5,1 + MINL5,1 + C,1) / 5 >AvgC3,1
Thank you in advance!

Brain Freeze yet again!
What is difference between C5.1 and C5,1 period vs comma
Also (O+H+L+C)/4 is mean price based on 4 variables to change tp weekly is (O5+H5+L5+C5)/4
or is that the price mean 5 days ago?
Thank you in advance!

Brain Freeze!!
What is the difference between C5.1 and C5,1 first is C ystdy but what is it when I use a comma?
Question? if I have a formula (O+H+L+C)/4 in order to convert this to weekly (O5+H5+L5+C5)/4
would this be weekly of first formula or is this converting first formula to 5 days ago?
Thank you in advance!
