Anyone know how to check the fullness of a candle? Trying to avoid opening trades when candle is weak.
- Simple example of how to paint a bar (indicator)
- coloring candlebars
- Heiken Ashi manual
What does that even mean ?
Marco vd Heijden:
What does that even mean ?
What does that even mean ?
Sorry means if the candle forms with long tails but only a thin bar, I want to avoid opening a trade at that point.
Files:
weak_candle.png
3 kb
Compare the body to a moving average of the body.
whroeder1:
Compare the body to a moving average of the body.
Compare the body to a moving average of the body.
Any pointers on where I can read about that?
Tony Chavez: Any pointers on where I can read about that?
| There's nothing to read about, just code it.
void OnTick(){ static datetime Time0=0; datetime TimePrev = Time0; Time0=Time[0]; bool isNewBar = TimePrev != Time0; if(isNewBar){ double HAopen = ..., HAclose = ..., bodySize = MathAbs(HAopen - HAclose); #define bodySizeEMAlength 10 static const double bodySizeEMAalpha = 2.0 / (bodySizeEMAlength + 1); static double bodySizeAve = 0.0; bodySizeAve += bodySizeEMAalpha * (bodySize - bodySizeAve); if(bodySize > bodySizeAve) Print("Significant"); : } |
whroeder1:
There's nothing to read about, just code it. |
Thank you. That should be helpful once include it as a limiter in the code.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register