On Jun 27, 2009, at 9:06 AM, gmorlosky wrote:
> maybe....
>
> IF ( MACDline == Signalline) // histogram value equals zero
> X = lastvalue(MACDline-Signalline);
> Plot (X,"", colorblack);
>
> --- In
amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>>
>> Yes, I have it set to 100%. The absolute values of the indicator
>> will
>> vary wildly, depending on the price and volatility of the stock. I
>> plot ES, so the values are quite large at times.
>>
>> BR,
>> Dennis
>>
>> On Jun 26, 2009, at 5:58 PM, monitorit wrote:
>>
>>> If that's all you needed, the color change would be best. But, I
>>> think the solution I suggested would work... you would still plot/
>>> see value very high or low just within a section defined by pane*1/
>>> minvalue [at least it has for me]. BTW, presently what is the upper
>>> and lower bounds of the MACD in relationship to the height of the
>>> pane? Is it 100% of the pane height?
>>> Dan
>>>
>>> --- In
amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@> wrote:
>>>>
>>>> Dan,
>>>>
>>>> This is what I usually do for indicators when I know the range of
>>>> values. However, MACD is an unbounded indicator, so I don't know
>>>> how
>>>> large the values are. It is only the zero crossings and relative
>>>> peaks that are useful info here.
>>>>
>>>> I just thought there would be some simple shortcut to actually
>>>> scanning the visible bars for the min/max values to use in the plot
>>>> statements. I think I will just switch colors of the MACD from red
>>>> to
>>>> green if it is above or below zero instead of resorting to yet
>>>> another
>>>> loop.
>>>>
>>>> Thanks,
>>>> Dennis
>>>>
>>>>
>>>> On Jun 26, 2009, at 4:40 PM, monitorit wrote:
>>>>
>>>>> Dennis,
>>>>> Hi. You might try this- Place a value in minvalue section but
>>>>> none
>>>>> in maxvalue section [I think maybe a value like 2 equates to 1/2
>>>>> pane height] of your MACD and zero plot statements.
>>>>> Also,styleNoRescale in the zero plot statement. This worked for
>>>>> me
>>>>> when I wanted to plot a histogram and a dot on the top of the
>>>>> histogram. Not sure if it works with a line. If it doesn't, you
>>>>> could try plotohlc with H=max(0,my#) and L=min(0,my#).
>>>>>
>>>>> Dan
>>>>>
>>>>> --- In
amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> This must be simple, but my AFL brain is fried today. I have an
>>>>>> MACD
>>>>>> plot on top of my main price chart, and I want to plot a zero
>>>>>> line
>>>>>> over it. It is plotted as StyleOwnScale of course. I can't use
>>>>>> StyleLeftAxis because I am using it for something else. I
>>>>>> guess I
>>>>>> could do something to figure out where the visible high and low
>>>>>> values
>>>>>> of the MACD are, but it seems like it should be easier than that.
>>>>>>
>>>>>> TIA,
>>>>>> Dennis
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------
>>>>>
>>>>> **** IMPORTANT PLEASE READ ****
>>>>> This group is for the discussion between users only.
>>>>> This is *NOT* technical support channel.
>>>>>
>>>>> TO GET TECHNICAL SUPPORT send an e-mail directly to
>>>>> SUPPORT {at}
amibroker.com>>>>>
>>>>> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
>>>>>
http://www.amibroker.com/feedback/>>>>> (submissions sent via other channels won't be considered)
>>>>>
>>>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>>>>
http://www.amibroker.com/devlog/>>>>>
>>>>> Yahoo! Groups Links
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> **** IMPORTANT PLEASE READ ****
>>> This group is for the discussion between users only.
>>> This is *NOT* technical support channel.
>>>
>>> TO GET TECHNICAL SUPPORT send an e-mail directly to
>>> SUPPORT {at}
amibroker.com>>>
>>> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
>>>
http://www.amibroker.com/feedback/>>> (submissions sent via other channels won't be considered)
>>>
>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>>
http://www.amibroker.com/devlog/>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>
>
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at}
amibroker.com>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
>
http://www.amibroker.com/feedback/> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>
http://www.amibroker.com/devlog/>
> Yahoo! Groups Links
>
>
>