Page 2036 of 2170

Re: MT4 Indicator requests and ideas

Posted: Thu Apr 11, 2024 3:10 am
by simon_n3z
Hello Esteemed Devs and Members

Mr.Tools could you see if please you could fix the accurate range for the renko bricks ? The ai says this needs to be done, but that's just a theory lol

Here's a breakdown of how to make the ATR bars on the chart display the accurate range of the ATR range size in the code:

1. Normalize ATR Values:

Before using ATR values for calculations, normalize them to match the point value of the instrument using NormalizeDouble(atrValue * pt, Digits).
This ensures accurate comparison and calculation, as ATR values are in pips while price values are in points.
2. Calculate Box Size Based on ATR:

Use functions like iATR to obtain the ATR value for the desired timeframe and period.
Set the RenkoBoxSize input parameter to a multiple of the normalized ATR value, as each Renko box will represent a multiple of the ATR.
3. Scale High and Low Values:

When determining Renko box formation, scale high and low values based on the normalized ATR using MathFloor(Close/BoxPoints)*BoxPoints.
This ensures that boxes are formed based on ATR multiples and not raw price points.
4. Draw Renko Bars:

Use the FileWriteDouble function to write the high and low values of the Renko boxes to the hst file.
Ensure these values are scaled based on ATR using the BoxPoints variable.
5. Display ATR Value in Comments:

Add a comment to the chart using Comment or a custom function like AddRenkoComment.
Display the current normalized ATR value in pips within this comment.
Additional Considerations:

Adjust for Digits: If the instrument has digits other than 5, adjust normalization accordingly.
Use Consistent Point Value: Maintain a consistent pt variable for correct calculations.
Apply ATR Box Size: Ensure the calculated BoxSize is used for box formation and commenting.
Update Chart Accurately: Trigger chart updates with UpdateChartWindow after writing new bar data.
Example Code Modifications:

Code: Select all

// ... existing code ...

// OnTick function:
      BoxPoints = NormalizeDouble(BoxSize * pt, Digits);  // Normalize ATR-based box size
      // ... rest of OnTick code ...

// AddRenkoComment function:
   text = text + " (" + DoubleToStr(BoxPoints/pt,1) + " pips ATR)\n";  // Display ATR in comments
// ... rest of AddRenkoComment code ...
please, ... it would make this renko complete and perfect lol

cheers

-simon

#fs

Re: MT4 Indicator requests and ideas

Posted: Thu Apr 11, 2024 3:20 am
by dmnik
Dear Mrtools and Kvak!
Please add the MTF (Multi-Time Frame) function to this indicator. If possible, could you make it like in the 'Stoc_Spud' indicator!
stochastic-indicators-for-mt4-t8413502- ... 1295537895

Re: MT4 Indicator requests and ideas

Posted: Thu Apr 11, 2024 7:27 am
by kvak
dmnik wrote: Thu Apr 11, 2024 3:20 am Dear Mrtools and Kvak!
Please add the MTF (Multi-Time Frame) function to this indicator. If possible, could you make it like in the 'Stoc_Spud' indicator!
stochastic-indicators-for-mt4-t8413502- ... 1295537895
There is a lot of TDI here in mtf mode....

Re: MT4 Indicator requests and ideas

Posted: Thu Apr 11, 2024 6:11 pm
by dmnik
kvak wrote: Thu Apr 11, 2024 7:27 am There is a lot of TDI here in mtf mode....
Dear Kvak! Please make the one I ask for, if it's not too much trouble for you. I'm not interested in other indicators. I need this one with the MTF button for my system!

Re: MT4 Indicator requests and ideas

Posted: Thu Apr 11, 2024 11:22 pm
by Pucmola
Today I was interested in the test PCs EUR/USD.... how do you think it will turn out? :D of course

Re: MT4 Indicator requests and ideas

Posted: Fri Apr 12, 2024 12:31 am
by Pucmola
ready, steady......

Re: MT4 Indicator requests and ideas

Posted: Fri Apr 12, 2024 1:10 am
by moey_dw
Pucmola wrote: Fri Apr 12, 2024 12:31 am ready, steady......
The stuff of nightmares........ a pink blob chart during the NY session

Re: MT4 Indicator requests and ideas

Posted: Fri Apr 12, 2024 1:14 am
by boytoy
Pucmola wrote: Fri Apr 12, 2024 12:31 am ready, steady......
Image
Bruh 💀

Re: MT4 Indicator requests and ideas

Posted: Fri Apr 12, 2024 1:52 am
by Pucmola
Sorry... my baby woke up, there was a diaper loader... GO is not, because h1 divergence was not confirmed... M5 would be a small trade with an output of 1.07148

Re: MT4 Indicator requests and ideas

Posted: Fri Apr 12, 2024 1:53 am
by Pucmola
boytoy wrote: Fri Apr 12, 2024 1:14 am Bruh 💀
small trade