You tried but couldn't, and yet you posted places a comment. The problem is where you placed the code.
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button).
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problem
You tried but couldn't, and yet you posted places a comment. The problem is where you placed the code.
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button).
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problem
void OnTimer(void) { // Checking Highest lowest Candle int CadMax1 = iHighest(Symbol(),TrendTFPrd1,MODE_CLOSE,45,1); int CadMin1 = iLowest(Symbol(),TrendTFPrd1,MODE_CLOSE,45,1); int CadMax2 = iHighest(Symbol(),TrendTFPrd1,MODE_CLOSE,90,46); int CadMin2 = iLowest(Symbol(),TrendTFPrd1,MODE_CLOSE,90,46); int CadMax3 = iHighest(Symbol(),TrendTFPrd1,MODE_CLOSE,135,91); int CadMin3 = iLowest(Symbol(),TrendTFPrd1,MODE_CLOSE,135,91); //-----------------------------------------------------------------------------//// // Getting the High & Low price levels of the previous candles input per each zone double UPcandleH1 = iHigh(Symbol(),TrendTFPrd1,CadMax1); double DowncandleL1 = iLow(Symbol(),TrendTFPrd1,CadMin1); double UPcandleH2 = iHigh(Symbol(),TrendTFPrd1,CadMax2); double DowncandleL2 = iLow(Symbol(),TrendTFPrd1,CadMin2); double UPcandleH3 = iHigh(Symbol(),TrendTFPrd1,CadMax3); double DowncandleL3 = iLow(Symbol(),TrendTFPrd1,CadMin3); Comment( "High/Low 1st Candle: ",CadMin1, "\n", "High/Low 2nd Candle : ",CadMin2, "\n", "High/Low 3rd Candle",CadMin3, BuySignal ,"\n",MABuySignal,"\n", SellSignal,"\n",MASellSignal,"\n");
So that is my comment in the robot
how to make it inside an indicator contained in ontimer function ?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello Everyone ,,
I need a little help
I have calculations are shown on the chart but by a robot not as indicator , as comment , I want to make a comment on a blank indicator just to show my variables calculations with updated seconds interval, I tried but couldnt , Any help is appreciated,
the current one is working based on OnTimer , which with the indicator should be the same case.
m current comment:
Comment(
"High/Low 1st Candle: ",CadMin1,
"\n",
"High/Low 2nd Candle : ",CadMin2,
"\n",
"High/Low 3rd Candle",CadMin3,
BuySignal ,"\n",MABuySignal,"\n",
SellSignal,"\n",MASellSignal,"\n");