Date/Time: Wed, 04 Oct 2023 13:54:31 +0000
PROGRAMING WITH ACSIL
View Count: 1285
|User82615 - Posts: 106|
HELLO COULD ANYBODY TELL ME IF IN PROGRAMMING A TRADING SYSTEM IF THERE IS ANYWAY OF USING "OR" WHEN PROGRAMMING A CONDITION IN THE TRADING SYSTEM THE SAME THAT IT USES "AND" USING "&&" .
FOR EXAMPLE I WOULD LIKE TO PROGRAM A CONDITION IN MY SYSTEM THAT SAYS THAT I WANT TO ENTER A TRADE IF A BAR CLOSES ABOVE A MOVING AVERAGE OF 10 "OR" IF THE BAR CLOSES ABOVE THE MOVING AVERAGE OF 200.
IS THIS POSSIBLE TO DO USING ACSIL?
|vegasfoster - Posts: 444|
|| represents or
This is a good resource for learning the fundamentals of C++ http://www.cplusplus.com/
Sierra Chart Engineering - Posts: 104368
Here is the reference for logical operators you can use:
Sierra Chart Support - Engineering Level
Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
To post a message in this thread, you need to log in with your Sierra Chart account: