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

Re: EL CODE NEED HELP AND THE ANSWER IS



PureBytes Links

Trading Reference Links

THANKS TO ALLWHO TRIED TO HELP.
BUT I MUST GIVE CREDIT WHERE CREDIT IS DUE.
I GOT THROUGT TO MANNY AT O.R. E.L DEPT.
THE SECOND LINE OF CODE SHOULD READ--
  IF CLOSE/100>OPEN/100 AND MARKETPOSITION=1 THEN SELL
  ENTRYPRICE+10 STOP;

THANKS TO ALL-- END OF THIS PROBLEM ON TO THE NEXT ONE.
BRENT
Brent August wrote:

> THIS IS MY CODE
>
> if c/100>o/100 then buy;
> if c/100>>o/100 then sell entryprice/100+10 stop;
>
> I  DIVIDE BY 100 BECAUSE I USE FUTURE SOURCE AS A DATA PROVIDER
> AND THEY SEND PRICES WITHOUT DECIMAL POINT.
>
> THE FIRST LINE WORKS -- I GET A BUY.
>
> BUT THE SECOND LINE OF CODE DOES NOT GET ME A SELL!!
>
> THE CODE DOES VERFIY.
>
> THANK YOU.
>
>  BRENT