HappyRe: Smart Money Concept (SMC) indicators for MT4

202
limevanilla wrote: Sun Jul 14, 2024 10:32 pm Sorry, but it seem like this one cannot be open with 1420 build.
Here the new 1420 version.

Please thank my imaginary Waifu Alya-chan :Rofl:
These users thanked the author euro_rapp for the post (total 9):
limevanilla, Krunal Gajjar, URS, talaate, sdsdzk, specialkey, SijjiN, Donky13, Christopher1972

BoS/CHoCH indicator

205
I made a BoS/CHoCH indicator whatever it's called because I could not find any valuable with code and everything

I hope all works as it should

you can filter only if you want a big retracement before the signal (with the setting "Height")

you need to access the setting in an EA this way :

Code: Select all

double b1;
double s1;

double b  = iCustom(NULL,0,IndiName,bars,ATRDistMul,ATRDistMulHeight,VolatilityType,bbH,bbL,hhmin,llmin,  0, i+1);
double b_ = iCustom(NULL,0,IndiName,bars,ATRDistMul,ATRDistMulHeight,VolatilityType,bbH,bbL,hhmin,llmin,  0, i);
if (b > 0 && b < EMPTY_VALUE)
if (b_ <= 0 || b_ >= EMPTY_VALUE)
   b1 = b;
    

double s  = iCustom(NULL,0,IndiName,bars,ATRDistMul,ATRDistMulHeight,VolatilityType,bbH,bbL,hhmin,llmin,  1, i+1);
double s_ = iCustom(NULL,0,IndiName,bars,ATRDistMul,ATRDistMulHeight,VolatilityType,bbH,bbL,hhmin,llmin,  1, i);
if (s > 0 && s < EMPTY_VALUE)
if (s_ <= 0 || s_ >= EMPTY_VALUE)
   s1 = s;
otherwise you can have some future reading Jeff
These users thanked the author ionone for the post (total 6):
eduarescobar, Jimmy, DVanAssen, budhi1976, SijjiN, talaate
Scalping the Century TimeFrame since 1999


Re: BoS/CHoCH indicator

206
ionone wrote: Sat Aug 03, 2024 3:51 am I made a BoS/CHoCH indicator whatever it's called because I could not find any valuable with code and everything

I hope all works as it should

you can fil
Jeff
by the way it will not wait for signal bar to be closed to issue a signal : the signal is isued as soon as the level is crossed (shifted by entry vshift)
These users thanked the author ionone for the post:
eduarescobar
Scalping the Century TimeFrame since 1999

Re: Smart Money Concept (SMC) indicators for MT4

207
new version !

I added the possibility to determine the number of bars left to the pivot rather than to use twice the length

I also added the period of the ATR
These users thanked the author ionone for the post (total 6):
didichung, CoOp, RodrigoRT7, Jimmy, SijjiN, talaate
Scalping the Century TimeFrame since 1999

Re: Smart Money Concept (SMC) indicators for MT4

208
I added another "bbLeft" possibility that way simply replacing the twice the length by any number of bars you need
this is called "bbLeft 2". This is closer to what I wanted to do originally in version 110, but I got sidetracked lol
be careful if you use lower bbH and bbL values you need to lower hhmin and llmin as well otherwise you won't get any signals
These users thanked the author ionone for the post (total 5):
specialkey, SijjiN, Jozo, Nabs, talaate
Scalping the Century TimeFrame since 1999