-
Play videoPlease edit your post.
For large amounts of code, attach it.
- Why would you expect anything to happen when you don't assign them any values?
When a figure is found, I put my_info[0]=1, otherwise everything remains 0,
But in the window of data, I don't see these 3 additional buffers, only le 8
#property copyright "nen" #property link "http://www.onix-trade.net/forum/index.php?showtopic=118&view=findpost&p=410472" #property stacksize 65535 #property indicator_chart_window #property indicator_buffers 12 #property indicator_color1 Magenta #property indicator_color2 Green #property indicator_color3 Orange #property indicator_color4 LightSkyBlue #property indicator_color5 LemonChiffon #property indicator_color6 Magenta . . . double my_info[],my_info2[],my_info3[],my_info4[]; //sim . int init() { IndicatorBuffers(12); //sim SetIndexStyle(1,DRAW_LINE,STYLE_DOT); SetIndexStyle(2,DRAW_LINE,STYLE_DOT); SetIndexBuffer(1,ham); SetIndexBuffer(2,lam); SetIndexBuffer(3,ha); SetIndexBuffer(4,la); SetIndexBuffer(0,zz); SetIndexBuffer(5,nen_ZigZag); SetIndexBuffer(6,zzL); SetIndexBuffer(7,zzH); SetIndexLabel(6,"zzL"); //Sim SetIndexLabel(7,"zzH"); //Sim SetIndexLabel(8,"my_info"); //Sim SetIndexBuffer(8,my_info); //sim SetIndexLabel(9,"my_info2"); //Sim SetIndexBuffer(9,my_info2); //sim SetIndexLabel(10,"my_info3"); //Sim SetIndexBuffer(10,my_info3); //sim SetIndexLabel(11,"my_info4"); //Sim SetIndexBuffer(11,my_info4); //sim SetIndexStyle(5,DRAW_ARROW); SetIndexArrow(5,159); SetIndexEmptyValue(0,0.0); SetIndexEmptyValue(1,0.0); SetIndexEmptyValue(2,0.0); SetIndexEmptyValue(3,0.0); SetIndexEmptyValue(4,0.0); SetIndexEmptyValue(5,0.0); SetIndexEmptyValue(6,0.0); SetIndexEmptyValue(7,0.0); SetIndexEmptyValue(8,0.0); //sim SetIndexEmptyValue(9,0.0); //sim SetIndexEmptyValue(10,0.0); //sim SetIndexEmptyValue(11,0.0); //sim ... if (RangeForPointD>0 && vNamePatternToNumberPattern != "") { info2=" It is found " + countGartley + " patterns - for pattern N " + NumberPattern + " - " + vBullBearToNumberPattern + " " + vNamePatternToNumberPattern + " - " + DoubleToStr(LevelForDminToNumberPattern,Digits) + " < Range of the prices D < " + DoubleToStr(LevelForDmaxToNumberPattern,Digits) + ""; my_info[0]=1.0; //sim } ...
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
Hello
I can not increase the number of buffer:
SetIndexBuffer(8,my_info); //sim
SetIndexLabel(9,"my_info2"); //Sim
SetIndexBuffer(9,my_info2); //sim
SetIndexLabel(10,"my_info3"); //Sim
SetIndexBuffer(10,my_info3); //sim
SetIndexLabel(11,"my_info4"); //Sim
SetIndexBuffer(11,my_info4); //sim
SetIndexEmptyValue(9,0.0); //sim
SetIndexEmptyValue(10,0.0); //sim
SetIndexEmptyValue(11,0.0); //sim
But nothing happens. Could you help me.
PS : Each change on my part ends with // sim
PS : the indicator is compiled only with MetaEditor v4 not v5