kaustubh

Generation

generate functionSat, 28 Jan 2023

Order blocks are a way for institutional investors to enter the market algorithmically at key levels. They are broken up into multiple entries, creating tight consolidations that can be identified and capitalized on by traders. Order blocks can be bullish or bearish, and are also known as supply and demand zones or POI's (Points of Interest). To find high probability order blocks in the market, traders can use software like the Sonarlab SMC Indicator. This indicator can help identify valid order blocks by considering market structure, such as a break of structure (BOS) in the market. There are two types of order blocks in the SMC Indicator: Swing Order blocks and Internal Order blocks. The quality of order blocks depends on the settings used in the indicator, and can be adjusted to suit the trader's preferences. Market structure is the way in which the market moves in waves, with highs and lows and a trend that can be ridden by traders. The market structure terms used in the Sonarlab SMC guide include: Range, Swing Low (SL), Swing High (SH), Break of Structure (BOS), and Strong Swing High (SSH). Traders should wait for the perfect moment to enter a trade, and not jump on every wave they see. Understanding and being familiar with market structure terms is important for successfully using the Sonarlab SMC Indicator and trading institutional order blocks.

<?php // Function to get the maximum element of an array function getMax($arr) { // Take first element as maximum $max = $arr[0]; // Loop through the array for($i = 0; $i < count($arr); $i++) { // If current element is greater than $max if($max < $arr[$i]) { $max = $arr[$i]; } } return $max; } // Function to get the minimum element of an array function getMin($arr) { // Take first element as minimum $min = $arr[0]; // Loop through the array for($i = 0; $i < count($arr); $i++) { // If current element is lower than $min if($min > $arr[$i]) { $min = $arr[$i]; } } return $min; } // Test array $my_array = array(3, 0, -4, 2, 1, 6, 9, -2);

Questions about programming?Chat with your personal AI assistant