Hello I have created multitimeframe stochastic indicator. but when I am trying to use 2 indicators on chart it deletes arrow from one sub windows and
show only at one sub window. I even tried to use global variables but it get still error. so please if anybody could help me.

- how to draw a text on sub indicator window
- Looking for MTF stochastic signal
- Indicators with alerts/signal
long chartID; int window; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { chartID=ChartID(); window=(int)ChartWindowFind(); //--- //--- if(ObjectFind(chartID, IntegerToString(arrow) + (string)window + "Arrow SSD1 " + IntegerToString(i)) == - 1) { ArrowCreate(chartID, IntegerToString(arrow) + (string)window + "Arrow SSD1 " + IntegerToString(i), window , Time[i], arrUpSSK1_0[i], 241, ANCHOR_BOTTOM, clrGreen); } //---

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