| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Repositioning an Indicator Would it be possible to move an indicator (such as moving average) in the middle of his career? I try to explaine : a trendline drawn , if I wanted to move the move by grabbing his extreme. Here, if I wanted to move a moving average, to my knowledge, you can not because the MovAvg is anchored to the chart. I would only move the moving average and not everything that concerns the bar prices. In addition, I would like to know if this movavg, it can not move from the extremes but in the middle or in a spot chosen by me. Tks for help Roberto | ||
| |
|
| | #2 | ||
![]() | Re: Repositioning an Indicator Not sure if I quite got what you were asking, but if you need to position a moving average around the chart you might find this indi useful. I have made it so that you can apply horizontal and vertical shifts both positive and negative. The chart attached shows the same indi loaded a few times with some parameters changed to show you how it can work. Hope you find this useful. Cheers Brooky | ||
| |
|
| | #3 | ||
![]() | Re: Repositioning an Indicator Quote:
I'm sorry, but I forgot to mention that the language on which the code was applied to EasyLanguage. :-P Tks Roberto | ||
| |
|
| | #4 | ||
![]() | Re: Repositioning an Indicator var: Period(13),Xoffset(0),Yof fset(0); ....code to calculate average goes here.... plot [Yoffset](MyMovingAverage+Xoffset) ; It would not be drag and drop but it would allow you to 'nudge' the average around by changing the offset parameters. | ||
| |
|
| | #5 | ||
![]() | Re: Repositioning an Indicator Quote:
But if I wanted to move the point Z? I try to explain better: Y is the beginning, X is the end: Z in the middle there. That 's what I want to move, leaving intact the Y and Z points. Something like that, it can be done? Is there a way to codify? In addition, the drag and drop is not really possible? Tks Roberto | ||
| |
|
| | #6 | ||
![]() | Re: Repositioning an Indicator Quote:
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #7 | ||
![]() | Re: Repositioning an Indicator Quote:
in graph attached . This is an example , with polynomial predict . But it could be any other indicator . Tks Roberto | ||
| |
|
| | #8 | ||
![]() | Re: Repositioning an Indicator Quote:
no, it cannot be done because EasyLanguage/TS/MultiCharts is not designed for such an operation. You might want to check out Amibroker. It has a slider where you can change a moving average period on the fly. It could change the slope of the curve, but it still would not hold X and Y in place. To do that, you will need to re-evaluate the formula and its variables.
__________________ Only an idiot would reply to a stupid post Last edited by Tams; 10-21-2010 at 12:04 PM. | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| High Volume Spike Reversal Indicator Development | davem1979 | Coding Forum | 27 | 02-07-2010 04:25 AM |
| My Custom ThinkOrSwim TICK Indicator | Predictor | Market Internals | 2 | 08-27-2009 07:01 PM |
| MIDAS Indicator for MT4! | akifusenet | Trading Indicators | 4 | 08-21-2009 03:57 AM |
| Bid-Ask Pressure Indicator for Tradestation | Soultrader | Trading Indicators | 81 | 08-18-2009 03:29 PM |
| Triangle Pattern Indicator Code Not Working | clbradley | Coding Forum | 16 | 04-27-2009 08:36 PM |