Discussing the article: "Developing Advanced ICT Trading Systems: Implementing Signals in the Order Blocks Indicator"
https://www.mql5.com/en/articles/16268
5. Setting TP and SL Levels When Opening Trades
Finally, we set Take Profit and Stop Loss levels for buy and sell trades. For buy trades, use the Ask price; for sell trades, use the Bid price. Then draw the TP and SL lines on the chart for monitoring.
tp1_buffer[iBarShift(_Symbol,PERIOD_CURRENT,iTime(_Symbol,_Period,0))] = tp1; tp2_buffer[iBarShift(_Symbol,PERIOD_CURRENT,iTime(_Symbol,_Period,0))] = tp2; sl1_buffer[iBarShift(_Symbol,PERIOD_CURRENT,iTime(_Symbol,_Period,0))] = sl1; sl2_buffer[iBarShift(_Symbol,PERIOD_CURRENT,iTime(_Symbol,_Period,0))] = sl2;
This looks like it could be a bit simplified.
Check out the new article: Developing Advanced ICT Trading Systems: Implementing Signals in the Order Blocks Indicator.
In this article, we explored how to create an Order Block indicator based on market depth volume and optimized its functionality by adding additional buffers to the original indicator.
Our final result:
Author: Niquel Mendoza