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

Re: FW: Expert Help



PureBytes Links

Trading Reference Links

MP:

========
Buy Highlight:

P1:=Mov(((C-LLV(L,10))/(HHV(H,10)-LLV(L,10)))*100,3,E);
dblSto10:=
Mov(((P1-LLV(P1,10))/(HHV(P1,10)-LLV(P1,10)))*100,3,E);
buy:=dblSto10<40 AND dblSto10>Ref(dblSto10,-1) AND
Ref(dblSto10,-1)<Ref(dblSto10,-2);
buy
========

Sell Highlight:

P1:=Mov(((C-LLV(L,10))/(HHV(H,10)-LLV(L,10)))*100,3,E);
dblSto10:=
Mov(((P1-LLV(P1,10))/(HHV(P1,10)-LLV(P1,10)))*100,3,E);
sell:=dblSto10>70 AND dblSto10<Ref(dblSto10,-1) AND
Ref(dblSto10,-1)>Ref(dblSto10,-2);
sell
=========

Mark Peterman wrote:

   [snip]

> Basically, what I am trying to program the Expert to do is:
>
> ==BUY==
> IF THE CURRENT VALUE OF THE DBLSTOCH IS LESS THAN 40 AND GREATER THAN THE
> PREVIOUS DAYS VALUE THEN PAINT ONLY THIS BAR AS A BUY.  (i.e.. the dblstoch
> is below 40 and has just turned up.)
>
> ==SELL==
> IF THE CURRENT VALUE OF THE DBLSTOCH IS MORE THAN 70 AND LESS THAN THE
> PREVIOUS DAYS VALUE THEN PAINT ONLY THIS BAR AS A SELL.  (i.e.. the dblstoch
> is above 70 and has just turned down.)