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

[amibroker] Re: Three SMA In one AFL file and call it using #Include_once.



PureBytes Links

Trading Reference Links

Hello Tomasz,

Thank you for response.

I seen this in PatternExplorer, In price chart you can select moving 
average from Properties windows or hide it. 

Regards.


--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
wrote:
>
> _SECTION_ functions are inserted and managed AUTOMATICALLY by 
AmiBroker during drag-drop operation.
> They should NOT be put into include files. 
> 
> include files are for user-defined functions. Not for auto-
generated drag-drop code.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
>   ----- Original Message ----- 
>   From: Mohammed 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Tuesday, March 04, 2008 7:06 PM
>   Subject: [amibroker] Three SMA In one AFL file and call it using 
#Include_once.
> 
> 
>   I would like to add three SMA Indicators in one afl file and call 
it with #include_once function.  But when I change the name in 
_SECTION_BEGIN , and the length in the Periods it is not change as I 
wish. If I set the periods to 50 it showing 550.
> 
>   _SECTION_BEGIN("MA15");
>   P = ParamField("Price field",-1);
>   Periods = Param("Periods", 15, 2, 200, 1, 10 );
>   Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", 
colorCycle ), ParamStyle("Style") ); 
>   _SECTION_END();
> 
>   _SECTION_BEGIN("MA50");
>   P = ParamField("Price field",-1);
>   Periods = Param("Periods", 50, 2, 200, 1, 10 );
>   Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", 
colorCycle ), ParamStyle("Style") ); 
>   _SECTION_END();
> 
>   _SECTION_BEGIN("MA200");
>   P = ParamField("Price field",-1);
>   Periods = Param("Periods", 200, 2, 200, 1, 10 );
>   Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", 
colorCycle ), ParamStyle("Style") ); 
>   _SECTION_END();
> 
>   Any Advice Please.
> 
>   Regards
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
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:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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