This is my formula (for testing and learning purpose only):
This is working fine for 'daily charts' but when I use it for 'intraday' analysis, it just doesn't work....
It is still giving daily signals only. For example if there is a trigger for ACC and I click on it, in analysis symbol list, the chart is opened in daily mode only.
I just am not able to generate signals in intraday mode. I have checked all the database and category settings and it still doesn't work.
Also, the SMA automatically gets set to default value of 15 every other time I use the above formula which is very irritating PLUS the formula considering only the daily values for analysis is even more irritating.
please help
I am a real noob to ami broker and I have read a lot since day before yesterday, trying to find a solution but I am running against time and haven't got anything back yet, even remotely satisfactory.
I will really appreciate senior members helping me on this issue.
Regards,
Code:
_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("MA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 9, 0.01, 5, 0.01, 0 );
//Periods = Param("Periods", 9, 0.1, 10, 0.05, 0.1 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
Buy = C > O AND (C - O) * 2 > H - L AND C > MA (C, 9) AND MA (C, 9) > O;
It is still giving daily signals only. For example if there is a trigger for ACC and I click on it, in analysis symbol list, the chart is opened in daily mode only.
I just am not able to generate signals in intraday mode. I have checked all the database and category settings and it still doesn't work.
Also, the SMA automatically gets set to default value of 15 every other time I use the above formula which is very irritating PLUS the formula considering only the daily values for analysis is even more irritating.
please help
I am a real noob to ami broker and I have read a lot since day before yesterday, trying to find a solution but I am running against time and haven't got anything back yet, even remotely satisfactory.
I will really appreciate senior members helping me on this issue.
Regards,