====== Time Price Channel ====== FIXME ===== Parameters ===== **Logical rules for Opening Point of the Position slot.** * Enter long at Upper Band; * Enter long at Lower Band; **Logical rules for Opening Logic Condition slot.** * The bar opens below Upper Band; * The bar opens above Upper Band; * The bar opens below Lower Band; * The bar opens above Lower Band; * The position opens below Upper Band; * The position opens above Upper Band; * The position opens below Lower Band; * The position opens above Lower Band; * The bar opens below Upper Band after opening above it; * The bar opens above Upper Band after opening below it; * The bar opens below Lower Band after opening above it; * The bar opens above Lower Band after opening below it; **Logical rules for Closing Point of the Position slot.** * Exit long at Upper Band; * Exit long at Lower Band; **Logical rules for Closing Logic Condition slot.** * The bar closes below Upper Band; * The bar closes above Upper Band; * The bar closes below Lower Band; * The bar closes above Lower Band; **List box parameters** * **Base price** (Open). The reference price is bar Open Options: Open. **Numeric box parameters** * **Hour** (8). The hour of the reference time Minimum: 0, Maximum: 23. * **Minutes** (0). The minute of the reference time Minimum: 0, Maximum: 59. * **Price deviation [point]** (200). Determines the channel width. Minimum: 5, Maximum: 2000. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/TimePriceChannel.cs|Time Price Channel]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/TimePriceChannel.mqh|Time Price Channel]].