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

Re: Trade only once a day code



PureBytes Links

Trading Reference Links

hi,

better: if entriestoday(date)<1 then.....

regards

michael

> vars: CanTrade(0),MP(0);
> 
> MP = MarketPosition;
> 
> if Date <> Date[1] then
>     CanTrade = 1;
> 
> if MP <> MP[1] then
>     CanTrade = 0;
>