Perhaps:
Calculate iStdDev() for the centerline, then add/subtract that value from the value --GetValueByShift() -- at any point along the centerline.
Calculate iStdDev() for the centerline, then add/subtract that value from the value --GetValueByShift() -- at any point along the centerline.
Perhaps:
Calculate iStdDev() for the centerline, then add/subtract that value from the value --GetValueByShift() -- at any point along the centerline.
Calculate iStdDev() for the centerline, then add/subtract that value from the value --GetValueByShift() -- at any point along the centerline.
I thought of that but the arguments for iStdDev, particularly " int ma_period, int ma_shift, int ma_method, int applied_price" should be such that the line would be identical with the OBJ_STDDEVCHANNE, which I don't know, who can one finds out? "in-order for the iStdDev line to match the channel middle line?
thanks

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
I need some help with programming this task.
this code
ObjectCreate("chn", OBJ_STDDEVCHANNEL, 0, Time[100],0, Time[20],0);
Comment(ObjectGetValueByShift("chn1",44));
prints the value of the middle line ok. but I am after the values of the the upper and lower bounds, how can I get them?
many thanks