A
Hello, Paul!
This is easy to be done with FSB.
1. Knowing if Close of the previous bar is higher (ore lower) than open
Open of this or of previous bar?
a) If it is Open of this bar, that means we are looking for a gap.
[Opening logic condition]
Moving Average
The bar opens above the MA value
Smoothing method - Simple
Base price - Close
Period - 1
Shift - 0
Use previous bar value - Yes
b) If it is Opening price of previous bar we need:
[Opening logic condition]
Moving Average
The bar opens above the MA value
Smoothing method - Simple
Base price - Open
Period - 1
Shift - 1
Use previous bar value - No
This logic allows long entry if the previous bar is a white one
(The current version of FSB does not calculate ?Shift? when the ?Period? = 1. This will be fixed at the beginning of August.)
2. You can use ?Donchian Channel? to represent the range of previous bar.
3. For entering above / below the previous High / Low - ?Donchian Channel?.
Example:
Open long at the Closing price if it is above the previous Highest price (short at the Closing price if it is below the previous Low)
[Opening point of the position]
Bar Closing
Enter the market at the end of the bar
Base price - Close
[Opening logic condition]
Donchian Channel
The position opens above the Up Band
Base price - High & Low
Period - 1
Shift - 1
Use previous bar value - No
4. Using the cross over of EMA, one 21 periods of Close an one 20 periods of Open
FSB can compare two MA based on same price (on the Open or on the Close Price).
The easiest way is ?Moving Averages Crossover? (FSB 2.5.1.2)
[Opening logic condition]
Moving Averages Crossover
The Fats MA crosses the Slow MA upward
Base price - Close
Fast MA method - Simple
Slow MA method - Simple
Fast MA period - 13
Slow MA period - 21
Fast MA shift - 0
Slow MA shift - 0
Use previous bar value - Yes
Browse the forum for different ways.