logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ozboss55  
#1 Posted : Wednesday, May 18, 2016 11:12:41 AM(UTC)
ozboss55

Rank: Newbie

Groups: Registered Users, Subscribers
Joined: 5/18/2016(UTC)
Posts: 1

I want to be able to plot signal bars one above the other over the chart formatted as follows:

Upper bar:

If EMA(7) > SMA(20) then Upper Bar is BLUE, upper value = (greater of (EMA(7) and Upper Bollinger Band BB(15,1,1),  lower value = SMA(20).

If EMA(7) < SMA(20) AND EMA(7) > Lower Bollinger bar BB(15,1,1) then Upper Bar is RED, upper value = Upper Bollinger Bar (BB915,1,1), lower value = EMA(7)

If EMA(7) < SMA(20) AND EMA(7) < Lower Bollinger bar BB(15,1,1) then Upper Bar is RED, upper value = Upper Bollinger Bar (BB915,1,1), lower value = Lower Bollinger bar BB(15,1,1)

 

Lower Bar:

If EMA(7) > SMA(20) then Lower Bar is YELLOW, upper value = SMA(20), lower value is Lower Bollinger Band BB(15,1,1)

If EMA(7) < SMA(20) AND EMA(7) > Lower Bolinger Band BB(15,1,1) then Lower Bar is YELLOW upper value= EMA(7), Lower value = Lower Bollinger Band BB(15,1,1)

If EMA(7) < SMA(20) AND EMA(7) < Lower Bolinger Band BB(15,1,1) then Lower Bar is RED upper value =Lower Bollinger Band BB(15,1,1) , Lower value =EMA(7)

The upper and lower values are easy to calculate, I just can't find a way to plot them on the Charts.

 

Also I would want to have the time periods as variables for ease of optimising a system.

 

MS Support  
#2 Posted : Tuesday, May 24, 2016 8:44:48 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,722

Thanks: 62 times
Was thanked: 145 time(s) in 141 post(s)
Hi, I do not believe this is possible, but you can contact our formulas department via https://www.metastock.co...s/CustomFormulaForm.aspx to see if this is something they might be able to accomplish. Coloring based on conditions is not possible through normal means, although this will be something we look at when we re-write the formula language. We do not have any time frame on implementing such changes, however.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.