Question for EasyLanguage experts

Discussion in 'Trading Software' started by electron, Nov 17, 2003.

  1. Here is my code:

    If (FastDCustom(HighValue, LowValue, CloseValue, Length)<90) OR (FastDCustom(HighValue, LowValue, CloseValue, Length)>10) then
    Plot1(FastDCustom(HighValue, LowValue, CloseValue, Length), "FastD", Magenta)
    else
    Begin
    Plot1(FastDCustom(HighValue, LowValue, CloseValue, Length), "FastD", Red);
    End;

    I was hoping that this would get me the red stochastics when it's over (equal to) 90 and less than (equal to) 10, but all I am getting is only the magenta colored stochastics, that is the condition for the red part is ignored. Why? What's wrong with this?

    I am using TS2001i.
     
  2. I know what was wrong... a small thing.