[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: Indicators: colored lines?



PureBytes Links

Trading Reference Links

Hi Ton,

Exactly! You are experienced with MS. I am only a newbie, but I am a  programmer. I was *very* sure that colors were implemented in MS already. Therefore,  my stupid questions. I could not believe for a second that this was *not* implemented.

Colors and horizontal lines and styles also are a *property* of an indicator. That's why colors should be implemented in the indicator builder dialog, here another solution that would not confuse old formula collections:

---

   m = mov(c,21,e);   // Exp. Mov. Av.
   color(m, red);     // setting object 'CIndicator' m to red
   style(m, default); // redundant, because everything has a default

   m;                 // draw m

---

Badly needed! I agree. No playing around with layouts and templates anymore.


> suggestions@xxxxxxxxx
> 
> I have found the below mentioned use of "a Layout turned Template"
> a good "workaround" to have multiple indicators or any indicatored
> straight horizontal line to be colored in one's favourite color, a very
> pleasent program option.
> 
> However, when "just dragging" a custom indicator down from
> the Indicator Quick List onto a Chart, a manual color altering action
> via right clicking for the ContextMenu|Properties is always required.
> 
> Implementing a value option in the MetaStock Formula Language as
> a standard for the color of a plotted custom formula or indicator is badly
> required. A notation like 0{=default} , 1{=red} or 2{=blue} or 3{=green}
> would be very helpfull.
> 
> Example:
> A simple MovAve could then be written as follows:
> Mov(C,15,S,1)
> and the at the end added position 1 for color would then plot this indicator
> in the red color, eg 1{=red}.
> 
> Is there a chance that you can implement such a Formula Language
> feature in a newer program version?
> 
> Thanks in advance,
> 
> Regards,
> Ton Maas
> ms-irb@xxxxxxxxxxxxxxxx
> Dismiss the ".nospam" bit (including the dot) when replying.
> Homepage  http://home.planet.nl/~anthmaas
>