Hi,
This question seems really basic to me, but I cant seem to figure it out. How do i specify that a condition needs to be checked before another. The AND and OR will not do it. The SHIFT option does not seem ideal. For example, if I want to specify the following conditions:
1. Price closes above upper bollinger. Let's call this bar 'bar1' 2. subsequent bars must not close below the low of bar 1 3. A bar then closes above bar 1. We call this bar 'bar x' 4. Enter long on the close of bar x.
Now, it does not matter how many bars occur before condition 3 - as long as at least one bar does not close below bar 1. With the tools in Molanis, the only way I can see is to create an infinite number of conditions like:
SHIFT 30 does not close below bar 1 (I am starting at 30 for convenience) SHIFT 29 does not close below bar 1 etc
A simpler example is: 1. Price closes above upper bollinger. Let's call this bar 'bar1' 2. Do not enter a trade for at least 3 bars after bar 1 3. Enter long when a bar closes above bar 1 (provided condition 1 and 2 have been met)
I hope the above makes sense.
Regards Ose
|