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

RE: [amibroker] Data mining And the Individual Backtester - WARNING!



PureBytes Links

Trading Reference Links




I'm having difficulty associating the plot shapes with the 
specific plot lines.  Note in the "yposition"  where it 
says  the shapes "by default they are plotted 'around' graph0(first 
indicator line).  I haven't figured out how to change the Y position 
association for each of the following plot function calls. 
 
Plot(C,'"",colorgreen);
Plot(MA(C,10),"",colorred);
Plot( 50,"",colorblack); 
 
If I write <FONT 
size=3>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.<FONT 
color=#0000ff>
PlotShapes(
IIf(C1 OR C2 ==<FONT 
color=#ff00ff>1,shapeHollowUpArrow,shapeNone),colorGreen); 
//defaults to first indicator plotted it will 'attach' to 
the first plot line, but if I try to attach it to the second plot line in my AFL 
sequence of code it will not  <FONT 
color=#0000ff>
PlotShapes(
IIf(C1 OR C2 ==<FONT 
color=#ff00ff>1<FONT 
color=#000000>,shapeHollowUpArrow,shapeNone),colorGreen,0,1); 
//layer 0 and second indicator 
<FONT color=#000000 
size=3>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><FONT 
size=3>
where I understand  0 is for the default layer and 1 
for the 2nd indicator plotted in the sequence.  I'm missing something very 
obvious but  I can't seem to solve it. 
Thanks in advance for the help
JOE L. 
 
<FONT face=Arial 
size=2> =====================================================================================================================


  
  
    SYNTAX 
    PlotShapes( shape, color, layer = 0, 
      yposition = graph0, offset = -12 ); 
  
    RETURNS
    NOTHING 
  
    FUNCTION 
    Plots arrows and other shapes on any chart pane. 
      Parameters: 
      
        shape defines type of the symbol. when shape is zero nothing is 
        plotted values other than zero cause plotting various pre-defined 
        shapes. Odd values plot shape BELOW indicator, even values plot shape 
        ABOVE indicator. 
        color defines color of shape 
        layer defines layer number on which shapes are plotted 
        yposition defines Y-position where shapes are plotted (by default 
        they are plotted 'around' graph0 (first indicator) line) 
        offset - (or distance) parameter (by default -12 ), Offset is 
        expressed in SCREEN pixels. Negative offsets shift symbols down, 
        positive offsets shift symbol up. To place the shape exactly at 
        ypostion, specify 0 as offset 



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.