wonder what "channel=0" means in the settings ? which are the other possible values for it ? and their meanings if they exist ?
muller:
wonder what "channel=0" means in the settings ? which are the other possible values for it ? and their meanings if they exist ?
wonder what "channel=0" means in the settings ? which are the other possible values for it ? and their meanings if they exist ?
here are chunks of code: (it appers to be a multiplier)
input int SSP = 20; //reversal period
input int Channel = 0; //Channel
input int Ch_Stop = 30; //Stop Channel
input int relay = 10; //shift
smax = High -(Low-High)*Channel/ 100; // smax
smin = Low+(High-Low)*Channel / 100; // smin
smax2= High -(High-Low)*(Channel+Ch_Stop)/ 100; // smax
smin2= Low+(High-Low)*(Channel+Ch_Stop) / 100; // smin
I need to make an edit to the code.
Instead of
//---- turning dynamic array into indicator buffer SetIndexBuffer(1,BuyBuffer,INDICATOR_DATA); //---- shifting the start of the indicator drawing countdown 2 PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,StartBars); //--- creating a label to be displayed in DataWindow PlotIndexSetString(1,PLOT_LABEL,"Buy"); //---- character for indicator PlotIndexSetInteger(1,PLOT_ARROW,108); //---- indexing of items in the buffer as in time series ArraySetAsSeries(BuyBuffer,true); //---- prohibition of drawing empty values by the indicator PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0);
put
//---- turning dynamic array into indicator buffer SetIndexBuffer(1,BuyBuffer,INDICATOR_DATA); //---- shifting the start of the indicator drawing countdown 2 PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,StartBars); //--- creating a label to be displayed in DataWindow PlotIndexSetString(1,PLOT_LABEL,"Buy"); //---- character for indicator PlotIndexSetInteger(1,PLOT_ARROW,108); //---- indexing of items in the buffer as in time series ArraySetAsSeries(BuyBuffer,true); //---- prohibition of drawing empty values by the indicator PlotIndexSetDouble(1,PLOT_EMPTY_VALUE,0);
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
Arrows&Curves:
Author: Nikolay Kositsin