Attachments forums

List of attachments posted on this forum.


All files on forums: 137517

Re: MT4 Indicator requests and ideas

sal, Thu Oct 14, 2021 4:27 pm

mrtools wrote: Thu Oct 14, 2021 8:42 am Problem is determining the minimum/maximum size of the to qualify it as a pin bar.
i attached indicator to custom. normally
body size 33% of 100% of body size
secondly my rule
Pin bar body should be inside the prevous bar close - high for bullish trend and close- low for bearish trend
Pin bar colour (red/Green) not important
Previous Bearish trend no wick at top & body size shall be >80%
for buillish trend nno wick at bottom & body size shall be >80%
// Global variables
int LastBars = 0;
double MaxNoseBodySize = 0.33;
double NoseBodyPosition = 0.4;
bool LeftEyeOppositeDirection = true;
bool NoseSameDirection = false;
bool NoseBodyInsideLeftEyeBody = false;
double LeftEyeMinBodySize = 0.1;
double NoseProtruding = 0.5;
double NoseBodyToLeftEyeBody = 1;
double NoseLengthToLeftEyeLength = 0;
double LeftEyeDepth = 0.2;
All files in topic