Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Code:
----------------------------------
{ Highlights Bullish }
public:=Mov(O-Ref(C,-1),21,E)*200;
pro:=Mov(C-O,21,E)*200;
If((pro > public AND pro>0),1,0)
------------------------------------------------------------
{ Highlights Bearish }
public:=Mov(O-Ref(C,-1),21,E)*200;
pro:=Mov(C-O,21,E)*200;
If((pro < public AND pro<0),1,0)
-------------------------------------------
As has been explained MANY times before, the Boolean expression, If(something,1,0) is redundant. Code:
----------------------------------
{ Highlights Bullish }
public:=Mov(O-Ref(C,-1),21,E)*200;
pro:=Mov(C-O,21,E)*200;
pro > public AND pro>0
------------------------------------------------------------
{ Highlights Bearish }
public:=Mov(O-Ref(C,-1),21,E)*200;
pro:=Mov(C-O,21,E)*200;
pro < public AND pro<0
-------------------------------------------
wabbit [:D] P.S. I've no idea how this is supposed to be tracking the "smart money"
but seeing how much money has been lost by (so-called professional)
market managers, do you really want to follow them?
|