![]() |
|
| Discuss Nifty Futures Trading at the Equities within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Originally Posted by lvgandhi Kindly excuse me for my ignorance. I saw am afl for ... |
|
|||||||
| Notices |
| Equities Discuss & analyse stock market news, views, trends and your favourite stocks here. |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#4671
|
|||
|
|||
|
Quote:
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", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
_SECTION_BEGIN("Kolkata Meet - Bands");
//..........................................................................
a = Param("Angle Degrees",30,15,90,15);
n = Param("Slope_Bars",5,10,50,1);
a = (22 / 7) * (a / 180);
Num = NumL = NumH = 0;
Den = 0;
for (i = 1;i < n+1;i++)
{
Num = Num + sin(i * a) * Ref(C,-i-1);
NumL = NumL + sin(i * a) * Ref(L,-i-1);
NumH = NumH + sin(i * a) * Ref(H,-i-1);
Den = Den + sin(i * a);
}
j = Num/Den;
jL = NumL/Den;
jH = NumH/Den;
//Plot(j, "Slope", IIf(j > Ref(j,-1), colorBlueGrey,colorLime), styleThick | styleDashed);
Plot(jL, "LB", colorLime,styleThick | styleDashed);
Plot(jH, "UB", colorBlueGrey,styleThick | styleDashed);
_SECTION_END();
_SECTION_BEGIN("Signal 04");
Buy = C > jH;
Sell = C < jL;
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);
Short = Sell;
Cover = Buy;
Short = ExRem(Short,Cover);
Cover = ExRem(Cover,Short);
_SECTION_END();
_SECTION_BEGIN("Plot Arrows");
//Position size fixed 100 units
SetPositionSize(100,4);
SetTradeDelays(1,1,1,1);
PlotShapes(shapeUpArrow * Buy, colorBlue,0, L,-20);
PlotShapes(shapeDownArrow * Short, colorRed,0, H, -20);
_SECTION_END();
![]() My testing showed works better with higher time frames (hourly and above) found it tough to use with smaller TFs like 2/3/5/ mins..., anyway Goutam is already successfully using it on smaller TFs, so choose what suits you. Please backtest, forward test, paper trade or any which way you can, just be sure before using in RT. Regards Sanjay |
|
#4672
|
|||
|
|||
|
Quote:
As for the other parts of your post did not understand a thing at a casual glance, maybe will read it again 2morrow or monday. regards |
|
#4673
|
|||
|
|||
|
Quote:
-Gautam |
|
#4674
|
|||
|
|||
|
Quote:
pls provide the back testing settings used to back test this indicator & other indicators in amibroker.also how are u forward testing it?? |
|
#4675
|
|||
|
|||
|
Quote:
|
|
#4676
|
|||
|
|||
|
Quote:
Here's the settings, mostly default or in the code. You will not be able to emulate Gautam's results in the back test, the afl uses lower band for sell/short and upper band for buy/cover, where as gautam is doing it the other way. Another difference, it seems from his post that after taking the signal he is ignoring all the other indicator signals till the current position is closed. In other words once in the trade he is using price action for managing the trade and not really bothered about what the indicator is indicating. Quite valid way of doing it. But the biggest difference will be he stops trading after few trades (Profit / Loss targets achieved). Hello Asish Is there a way to shift the posts related to Kol indicator, to its thread, it would be good to have all the relevant posts in one place. regards Sanjay |
|
#4677
|
|||
|
|||
|
Quote:
Plz cut out the sir part, just the name should do Its good that you have written rules which you follow, not many here can say that ![]() I will skip reading again thru the explanation part as don't want to put more energy into it. One thing is clear though that you are not taking all the crosses of the price/close on the bands, and using price action(H/L) based rules to manage the trade. Good as it is working out for you. Just hope that those who intend to use Kol Indicator got to learn something from these interactions. Regards Sanjay |
|
#4678
|
|||
|
|||
|
Quote:
A small word of praise from a senior goes a loooooooong way for a new commer!!! Thanx again. Regards R K Karnani |
|
#4679
|
|||
|
|||
|
Quote:
i thing this is more or less the settings used for most of the stocks.i think u have used mini - nifty for the settings. for the long trades im using the following: buy price = close , buy delay = 0; sell price = open , sell delay = 1; or buy price = high , buy delay = 1;sell price = open , sell delay = 1; hope im not wrong. |
|
#4680
|
|||
|
|||
|
Squared my Shorts out of remaining 75 % ;50 % today @ 4946.05
|
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Indemnity, Disclaimer & Disclosure
Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum
Rules Disclaimer & Disclosure and indemnify Traderji.com, its
associates and related parties of all claims howsoever resulting from
the usage of the forum.
• Disclaimer: Trading or investing in stocks & commodities
is a high risk activity. Any action you choose to take in the markets
is totally your own responsibility. Traderji.com will not be liable for
any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
• Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein.
The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.