Tâche terminée
Spécifications
Requirements Specifications
I want to an mql5 indicator that can read objects on chart (specifically the ones in 'list all') using the LuxAlgo ‘Smart Money Concepts’ indicator which I have attached in the coversation. In the Indicator (LuxAlgo ‘Smart Money Concepts’), we only use text from the Internal Structure, Not the Swing Structure. So in the indicator setting of Smart Money Concepts (attached below), only Internal Market Structure should be on, everything else is off. Also EQH/EQL is off so that the only text we get is ChoCH and BOS of internal structure.
The only objects it must read are text (only the last 2 texts of LuxAlgo ‘Smart Money Concepts’). In the Text, it should be able to read the Description and color of the text.
With this in mind we create a histogram with signals as follows:
1. Green histogram bar if last text is BOS (Description) with color Green and second last text is CHoCH (Description) with color Green
2. Dark Green histogram bar if last text is BOS (Description) with color Green and second last text is BOS (Description) with color Green
3. Deep Pink histogram bar if last text is BOS (Description) with color Red and second last text is CHoCH (Description) with color Red
4. Red histogram bar if last text is BOS (Description) with color Red and second last text is BOS (Description) with color Red
5. Yellow histogram bar if last text is CHoCH (Description) with color Red and second last text is CHoCH (Description) with color Green
6. Orange histogram bar if last text is CHoCH (Description) with color Red and second last text is BOS (Description) with color Green
7. DeepSky Blue histogram bar if last text is CHoCH (Description) with color Green and second last text is CHoCH (Description) with color Red
8. Blue histogram bar if last text is CHoCH (Description) with color Green and second last text is BOS (Description) with color Red
The text object use a '20232 Smart Money Concepts pineLabel ###' where ### is a number in sequence to the last, example if second last object is 20232 Smart Money Concepts pineLabel 755, the last one is 20232 Smart Money Concepts pineLabel 756.
Note that there should be a histogram bar at every candle based on the last 2 texts at the bar’s time. There should also be an input where I can change the different colors