intradaybill
Well-known member
- Messages
- 358
- Likes
- 14
Hello,
Just reading about EL, haven't tried it yet.
How would you write easlylanguage code for a simple system that enters at the close of today is it is higher than the open of today and exits at the close of tomorrow? Will something like this work?
if C[0] > O[0] then
Buy this Bar at close;
if marketposition= 1 then
sell next bar at close;
Thanks
Bill
Just reading about EL, haven't tried it yet.
How would you write easlylanguage code for a simple system that enters at the close of today is it is higher than the open of today and exits at the close of tomorrow? Will something like this work?
if C[0] > O[0] then
Buy this Bar at close;
if marketposition= 1 then
sell next bar at close;
Thanks
Bill