// Condition set 2
if (CrossBelow(LinRegSlope(8).LRSlope, MyInput0, 1))
{
ExitLong("", "");
}
2nd event to possibly occur would be:
if (CrossBelow(Typical, CalculateValueArea(false, 8, 30, 0.7, "VWTPO", 6.75).VAt, 1)
If either event occurs, I would like the long position to be closed. No further orders should be placed other than to close the position. Should this be in the same condition set or a new condition? A little confused right now. If someone could show how to do the code, it would be greatly appreciated. Thanks in advance!
Comment