[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Plotshapes on Price Chart rather than Indicator Pane



PureBytes Links

Trading Reference Links

Anthony, I have never had a good reason to use #INCLUDE, so I have never tried to use it.   Based on your suggestion to use #include for this, I assumed that Mike would be using a conditional #include to  go fetch the Plotshapes codes for the various buy signals from the several different custom indicators where that were used to develop the various buy signals.
 
That way, for each NEW buy trigger I develop in a custom indicator, the main price chart only contains one nested  IIF(cond1,IIF(cond2,IIF(cond3,IIFcond4, and so on. 
 
I have never before tried to use #INCLUDE, so it would be a big help when I try to learn about using #include to be able to play with an example that actually works, and also happens to do exactly what I want it to do.  I usually have difficulty learning from the Help Examples alone.    Ron D
 
----- Original Message -----
Sent: Sunday, January 09, 2005 6:34 PM
Subject: Re: [amibroker] Plotshapes on Price Chart rather than Indicator Pane

Ron,
 
I see no problem with plotting a buy arrow on the main price chart....I added a sample buy formula and a plotshapes()...and the arrows plot.
 

Buy=Cross(C,MA(C,21));

PlotShapes(Buy*shapeUpArrow,colorBrightGreen);

Are you looking to do something else.

 

Anthony

----- Original Message -----
Sent: Sunday, January 09, 2005 7:27 PM
Subject: Re: [amibroker] Plotshapes on Price Chart rather than Indicator Pane

Mike, this is a great idea of yours to have conditional plotshapes appear in the built-in pricechart.
If you finally get it to work for your buy signals, I would sure appreciate seeing the completed code, even though it obviously won't be the plotshapes coding that  want.   I could then use your working code  as a template to make my own personal plotshapes coding for the main pricechart.  A working code to do this could then be added to the AFL library.   
 
My buy signals are totally dependant on the values of my homemade indicators, so when we finally get a Plottext() function, I would no longer have to stare at the popup menu which displays the actual value of the indicator.
 
An additional desirable feature would be the ability to plot a buy arrow at the actual location of the buy signal, but have a plottext() menu appear, offset to the right, or left of the location where the buy arrow occurs. 
 
I will send this suggestion on to the very busy and able folks in Poland.    Ron D
 
 
 
================================================
Thanks Graham, That's where I'm headed.
----- Original Message -----
From: Graham
Sent: Saturday, January 08, 2005 8:19 PM
Subject: Re: [amibroker] Plotshapes on Price Chart rather than Indicator Pane

One suggestion is to have a master AFL with everything you want in it,
then just use #include for the plot files


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html




Yahoo! Groups Links