amifeed amibroker issue

hir0406

Active Member
#1
hello,
I have opted for amifeed data feed trial. I am using the amibroker 5.6 version. but there is some issue I am facing.
1} if I save ema style as THICK and then restart amifeed its style becomes default I mean thin again.
2} I am using 2 ema 50 and 100 but when amibroker opens 100 ema become 110 eam. I will post code also to this.

_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();

_SECTION_BEGIN("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 50, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 100, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

I hope someone can help me.
thanks
 

hir0406

Active Member
#3
hello,
i used percentage band of 650 and 1300 on 30min timeframe, but then price candele looks very small.
how can I make price candel fit properly on chart ?
Screenshot_1.png
 

hir0406

Active Member
#4
You can replace the following line in plotting the line.

Plot(EMA(P, Periods)," ",colorBrightGreen,styleLine|styleStaircase);
thanks
I used
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style", styleLine | styleThick) );
it works good now
 

Similar threads

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Name:Phone:
Email:City:
State:
Are you a day trader?