Dear reinsley,

Thanks anyway for your continued efforts to be helpful.

Best regards,

Vinay Gakkhar

On Wed, 14 Jul 2010 21:27:23 +0530, reinsley <[email protected]> wrote:

>
> Hi,
>
> The trade is after the SAR validation, on the open of the next bar shown
> with the circle. The formula is quite correct.
>
> If you try to catch the highest and the lowest of the swing, you can use
> a Zig with validation. But all indicators are lagging.
>
> Your rules are not clearly defined, you are looking for holly grail.
>
> Best regards
>
>
> Le 14/07/2010 15:50, Vinay Gakkhar. a écrit :
>> Dear Reinsley,t
>>
>> Your code gives me the second bar after start of an 'up' or 'down' cycle. 
>> Besides this I need to place arrows on the highest&  the lowest prices 
>> within each 'up' or 'down' cycle. That means I want 2 more arrows besides 
>> your one arrow, these new two arrows will appear somewhere within each cycle 
>> at the highest and at the lowest point one each.
>>
>> Best regards,
>>
>> Vinay Gakkhar
>>
>>
>> On Wed, 14 Jul 2010 18:34:44 +0530, reinsley<[email protected]>  wrote:
>>
>>
>>> Unknown author, Best regards
>>>
>>> |// sar TS 2
>>> accel = Param("Acceleration", 0.02, 0, 1, 0.001);
>>> mx = Param("Max. acceleration", 0.2, 0, 1, 0.001);
>>>
>>> f_sar = SAR(accel,mx);
>>>
>>> colordots = IIf(f_sar<  *L*,*colorBrightGreen*,IIf(f_sar>
>>> *H*,*colorRed*,*colorWhite*));
>>>
>>> *Buy* = Cross(*C*,f_sar); *Buy* = Ref(*Buy*,-1); *BuyPrice* = *O*;
>>> *Sell* = Cross(f_sar,*C*); *Sell* = Ref(*Sell*,-1); *SellPrice* = *O*;
>>>
>>> SetBarsRequired(-2,-2);
>>> SetChartOptions(0, *chartShowDates*);
>>> Plot(*C*,"\nClose",*colorWhite*,64);
>>> Plot(f_sar,"\nf_sar",colordots,*styleDots*|*styleNoLine*);
>>>
>>> PlotShapes(IIf(*Buy*,*shapeUpArrow*,*shapeNone*),*colorGreen*,0,*L*,-15);
>>> PlotShapes(IIf(*Buy*,*shapeHollowUpArrow*,*shapeNone*),*colorWhite*,0,*L*,-15);
>>>
>>> PlotShapes(IIf(*Buy*,*shapeHollowSmallCircle*,*shapeNone*),*colorWhite*,0,*BuyPrice*,0);
>>>
>>>
>>> PlotShapes(IIf(*Sell*,*shapeDownArrow*,*shapeNone*),*colorRed*,0,*H*,-15);
>>> PlotShapes(IIf(*Sell*,*shapeHollowDownArrow*,*shapeNone*),*colorWhite*,0,*H*,-15);
>>>
>>> PlotShapes(IIf(*Sell*,*shapeHollowSmallCircle*,*shapeNone*),*colorWhite*,0,*SellPrice*,0);|
>>>
>>>
>>>
>>>
>>>
>>> Le 14/07/2010 14:46, Vinay Gakkhar. a écrit :
>>>
>>>> [Attachment(s)<#TopText>  from Vinay Gakkhar. included below]
>>>>
>>>> In a Parabolic Stop And Reverse Chart, there are 'up' cycles and there
>>>> are 'down' cycles. And in each cycle, there are many low peaks&  there
>>>> are many low peaks. As also there is one highest peak and there is one
>>>> lowest peak in each cycle.
>>>>
>>>> In my AFL, how can I provide for arrows to appear on each highest or
>>>> lowest peak?
>>>>
>>>> Thanks for your help.
>>>>
>>>> vgakkhar
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>> ------------------------------------
>>
>> **** 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to