I've been trying to put a stop loss in the High or Low of the last second bar after I open a position but in this example the only way to close it, is with the opposite action. Does anyone know how to put a stop loss and order with just stop loss and close when there is a bullish or bearish engulfing bar?
This is a general purpose very flexible program to test the effectiveness of HA bars. Please note that if you are charting at tradingview using Heikin-Ashi charting, your system will be trading fictitious prices even if you check the "use real prices" box. Thought you might like to know that before you lose all your money. This program performs the HA calcs...
This script simply takes a user-defined bar height number (variable barHeight) to find large candles. Automatically colors large bullish and bearish candles green or red, respectively. The barHeight can be modified to fit your needs. Use this in a variety of ways: - Confirm breakouts of support / resistance - Identify new trends