custom signal block (bar close within 25%)
4 replies
Oliver
6 years ago #259184
Hi
Im not sure how to code to have a signal produce for a candlestick/bar close within the the top or bottom 25% of the bars range?
any assistance would be greatly appreciated
thanks in advance
0
hankeys
6 years ago #259194
compute the RANGE of the bar: HIGH – LOW
CLOSE > 0.75 * RANGE for BUY and CLOSE < 0.25 * RANGE for SELL
You want to be a profitable algotrader? We started using StrateQuant software in early 2014. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM.
0
Tomas Matejka
6 years ago #259199
Hi, do you mean that top 25% will be a buy signal and bottom 25% will be a sell signal?
0
Oliver
6 years ago #259233
Hi Tomas. yes
Thanks Hankeys i will try that
0
Tomas Matejka
6 years ago #259279
Ok try and let us know if any troubles!
0
Viewing 4 replies - 1 through 4 (of 4 total)