how return renge close bar yesterday

Abowahaj

Member
Joined
Jul 18, 2021
Posts
11
Likes
0
Hello
have a nice time
Please help me to write the code
Returns the value if yesterday's candle close is more than 73% of the candle's range


public class closingRange extends Study
{
float cls = getClose(-1);
float hi = getHigh(-1);
float lo = getLow(-1);

if ((cls-lo)/(hi-lo))*100>73 return;
}
 
Hello
I'm still waiting for help
How to scan search criteria = return value if yesterday's candle close is more than 73% of the candle's range
 
Thanks for your attention
I will read and learn ☺️
Thanks for the reply, all I need is an example to learn how to write code in java
How do we refer to closing the penultimate bar
With best wishes
 
Thank you for helping me
I will try to write the code correctly
My best wishes to you?
 
Top