Systems for three market types- trending, nontrending, volatile

suri112000

Well-Known Member
ATS trading system
_SECTION_BEGIN("Chart Settings");
SetChartOptions(0,chartShowArrows|chartShowDates);
SetChartBkColor(ParamColor("Outer Panel",colorPaleBlue));
SetChartBkGradientFill(ParamColor("Upper Chart",colorDarkGrey),ParamColor("Lower Chart",colorDarkGrey));
GraphXSpace=Param("GraphXSpace",20,0,100,1);
dec = (Param("Decimals",2,0,7,1)/10)+1;
bi = BarIndex();
Lbi = LastValue(BarIndex());
sbi = SelectedValue(bi);
x1= BarCount-1;
Title = EncodeColor(55)+ Title = Name() + " " + EncodeColor(32) + Date() +
" " + EncodeColor(5) + "{{INTERVAL}} " +
EncodeColor(55)+ " Open = "+ EncodeColor(52)+ WriteVal(O,dec) +
EncodeColor(55)+ " High = "+ EncodeColor(5) + WriteVal(H,dec) +
EncodeColor(55)+ " Low = "+ EncodeColor(32)+ WriteVal(L,dec) +
EncodeColor(55)+ " Close = "+ EncodeColor(52)+ WriteVal(C,dec)+
EncodeColor(55)+ " Volume = "+ EncodeColor(52)+ WriteVal(V,1);
_SECTION_END();
//========================================================================
_SECTION_BEGIN("Advanced Trailstop System");

TimeFrameSet( Interval());
mult=Param("multi", 2.0, 0.1, 10, 0.05);
Aper=Param("ATR period", 5, 2, 100, 1 );
atrvalue=(mult*ATR(aper));

Bs[0]=0;//=L;
L[0]=0;
C[0]=0;

for( i = 9; i < BarCount; i++ )
{
if ( L[ i ] > L[ i - 1 ] AND L[ i ] > L[ i - 2 ] AND L[ i ] > L[ i - 3 ] AND L[ i ] > L[ i - 4 ] AND
L[ i ] > L[ i - 5 ] AND L[ i ] > L[ i - 6 ] AND L[ i ] > L[ i - 7 ] AND L[ i ] > L[ i - 8 ] AND
L[ i ] > L[ i - 9 ] AND C[ i ] > bs[ i - 1 ])
{
bs[ i ] = L[ i ] - ATRvalue[ i ] ;

}
else
{
if ( H[ i ] < H[ i - 1 ] AND H[ i ] < H[ i - 2 ] AND H[ i ] < H[ i - 3 ] AND H[ i ] < H[ i - 4 ] AND
H[ i ] < H[ i - 5 ] AND H[ i ] < H[ i - 6 ] AND H[ i ] < H[ i - 7 ] AND H[ i ] < H[ i - 8 ] AND
H[ i ] < H[ i - 9 ] AND C[ i ] < bs[ i - 1 ] )
{
bs[ i ] = H[ i ] + ATRvalue[ i ];

}
else
{
bs[ i ] = bs[ i - 1];
} }}
SetPositionSize (1,spsShares);
//====================================================
Mycolor=IIf(C>bs,colorLime,colorRed);
bcolor=IIf(C>bs,colorYellow,colorBlue);
PlotOHLC( Open, High, Low, Close, "", Mycolor, styleBar| styleThick );
Plot(bs,"ATS",bcolor,1|styleThick);
Buy=Cover=Cross(C,bs);
Sell=Short=Cross(bs,C);
shape=Buy*shapeUpArrow + Sell*shapeDownArrow;
PlotShapes(shapeUpArrow*Buy, colorLime, 0, L, -35 );
PlotShapes(shapeDownArrow*Sell, colorRed, 0, H, -30 );
SellPrice=ValueWhen(Sell,C,1);
BuyPrice=ValueWhen(Buy,C,1);
Long=Flip(Buy,Sell);
Shrt=Flip(Sell,Buy );
TimeFrameRestore(); // restore time frame to original
_SECTION_END();
Filter= Buy OR Sell OR Short OR Cover;
//=================TITLE================================================================================================
_SECTION_BEGIN("Title");
if( Status("action") == actionIndicator )
(
Title = EncodeColor(colorWhite)+ "Advanced Trailstop System " + " - " + Name() + " - " + EncodeColor(colorRed)+ Interval(2) + EncodeColor(colorWhite) +
" - " + Date() +" - "+"\n" +EncodeColor(colorYellow) +"Op-"+O+" "+"Hi-"+H+" "+"Lo-"+L+" "+
"Cl-"+C+" "+ "Vol= "+ WriteVal(V)+"\n"+
EncodeColor(colorLime)+
WriteIf (Buy , " GO LONG / Reverse Signal at "+C+" ","")+
WriteIf (Sell , " EXIT LONG / Reverse Signal at "+C+" ","")+"\n"+EncodeColor(colorWhite)+
WriteIf(Sell , "Total Profit/Loss for the Last Trade Rs."+(C-BuyPrice)+"","")+
WriteIf(Buy , "Total Profit/Loss for the Last trade Rs."+(SellPrice-C)+"","")+
WriteIf(Long AND NOT Buy, "Trade : Long - Entry price Rs."+(BuyPrice),"")+
WriteIf(shrt AND NOT Sell, "Trade : Short - Entry price Rs."+(SellPrice),"")+"\n"+
WriteIf(Long AND NOT Buy, "Current Profit/Loss Rs."+(C-BuyPrice)+"","")+
WriteIf(shrt AND NOT Sell, "Current Profit/Loss Rs."+(SellPrice-C)+"",""));
_SECTION_END();
//========================================================================
_SECTION_BEGIN("Advanced Trailstop System2");
TimeFrameSet( 480);
mult=Param("multi", 5.0, 0.1, 10, 0.05);
Aper=Param("ATR period", 2, 2, 100, 1 );
atrvalue=(mult*ATR(aper));

Bs[0]=0;//=L;
L[0]=0;
C[0]=0;

for( i = 9; i < BarCount; i++ )
{
if ( L[ i ] > L[ i - 1 ] AND L[ i ] > L[ i - 2 ] AND L[ i ] > L[ i - 3 ] AND L[ i ] > L[ i - 4 ] AND
L[ i ] > L[ i - 5 ] AND L[ i ] > L[ i - 6 ] AND L[ i ] > L[ i - 7 ] AND L[ i ] > L[ i - 8 ] AND
L[ i ] > L[ i - 9 ] AND C[ i ] > bs[ i - 1 ])
{
bs[ i ] = L[ i ] - ATRvalue[ i ] ;

}
else
{
if ( H[ i ] < H[ i - 1 ] AND H[ i ] < H[ i - 2 ] AND H[ i ] < H[ i - 3 ] AND H[ i ] < H[ i - 4 ] AND
H[ i ] < H[ i - 5 ] AND H[ i ] < H[ i - 6 ] AND H[ i ] < H[ i - 7 ] AND H[ i ] < H[ i - 8 ] AND
H[ i ] < H[ i - 9 ] AND C[ i ] < bs[ i - 1 ] )
{
bs[ i ] = H[ i ] + ATRvalue[ i ];

}
else
{
bs[ i ] = bs[ i - 1];
} }}

//====================================================
bs1=TimeFrameExpand( bs,480);
//Mycolor=IIf(C>bs,colorLime,colorRed);
bcolor=IIf(C>bs1,colorYellow,colorBlue);
//PlotOHLC( Open, High, Low, Close, "", Mycolor, styleBar| styleThick );
Plot(bs1,"ATS1",bcolor,1|styleThick);
TimeFrameRestore(); // restore time frame to original
_SECTION_END();
//====================================================================================
 

suri112000

Well-Known Member
they are doing good business like not much differences between tips provider ..
their site showing his intelligence and business..


Happy trading:thumb:
They must be billionaires by now being backed up by most trusted GURUS.:thumb:

It seems they are re-writing the way global markets make their next move.

Spiritual GURUS are making their way in Stock Markets as well. They have magical mirrors to foresee where the markets are heading next.:D

Poor Warren Buffet.......wasted 50 years of his life in analysing the markets.:D
 

Rish

Well-Known Member
They must be billionaires by now being backed up by most trusted GURUS.:thumb:

It seems they are re-writing the way global markets make their next move.

Spiritual GURUS are making their way in Stock Markets as well. They have magical mirrors to foresee where the markets are heading next.:D

Poor Warren Buffet.......wasted 50 years of his life in analysing the markets.:D
Atleast now he should change....
 

suri112000

Well-Known Member
Can You Become Financially Independent in 7 Years?

The basic criteria of Financial Independence is to have assets that will give you returns which is more than your expense. Financial Independence do not necessarily mean getting money without working.

This article is for those who passionately need to be financially independent as soon as possible. There isn’t much to tell but the effort expected from those who desire to retire early is rather pretty difficult. Only those who are ready to sacrifice at least 5-10 years of their life can achieve financial independence.

Financially Independent. There are three basic and simple things used to make us financially secure. They are; Job, Saving and Investing. It is true that there are other options also, like Lottery, gambling and racketeering to make huge fortunes but we do not discuss those here for obvious reasons. Let us stick to the traditional and normal ways of making money because we are normal, duty bound citizens paying taxes and love a peaceful life.

Have a Job to Start Out

Have a Job

When you have finished your education and head up to the big world outside, the first prerequisite you need to retire early is to have a job. Only a steady job just after education could see help you stand on your feet. How will you plan ahead when the ground under your feet is not stable? So try to get to a job as soon as possible and try to bring in the income. If you want to study further, look to work part-time and complete your studies.

If you can start a business on your own, it is much better. However, not everyone is cut out to become an entrepreneur very early on, at least. Therefore, stick with getting a job quickly if you are not able to start a business by your self.

Aggressive Saving Is the Key

Save Money Aggressively. Saving is what will demand your greatest effort. When we speak of saving here, it doesn’t mean the kind of usual saving that financial gurus advise you. To be truly independent financially, you must save aggressively. This is why you need to be really passionate about being retiring early because most young people find saving like this very difficult to achieve.

Save on everything and anything that can be saved. Live as much below your means as much as possible. Cancel out on all your outings, unnecessary shopping, eating out, and partying. This is not meant to transfer you into a recluse or a saint but to save as much as possible from the little income that you are earning.

However, you need undergo aggressive saving only for a period of 5 years. After that, you are free to do whatever you want to do.

The focus here is to save a good amount of money from the only source of money you are getting, that is your job. Save up to 60% to 70% of your income every month. That is, if you are currently earning about Rs. 10,000 per month, try to save an amount of Rs. 6000 to Rs. 7000.

Let’s say you save an amount of Rs. 7000 every month. Within 7 years, your savings goes up to Rs. 5.9 lakhs. That is not such a bad amount for a young person considering that the income was steady all through these years. If you perform well at job, the income is bound to increase thus pushing your savings higher. The Rs. 4.2 lakhs is the lowest limit that you can save. The upper limit can go much higher than this.

Only aggressive saving can help you to save 60% to 70% of your income every month. In addition, your job location can also affect your savings. The struggle will be much harder when your job is away from home and in some high cost city. However, for your own future you need to do aggressive saving. You must achieve that saving percentage in order for you to retire early.

Invest in Assets and Make Money Through Compounding.

Investing is not something that you do after the 5 years are up. It must be done simultaneously when you start your Aggressive Saving. With a steady job, your income is fixed, limited and can only grow slowly along with inflation. This means that in real terms that salary hike doesn’t make any difference in your life because your purchasing power remains the same.

By investing, your money will grow more than the inflation rate in the economy. This helps you to earn extra income other than what you get from your regular job.

It is true that you will increase your income by investing in high yielding assets but you must not take the money earned for day-to-day expenses. This amount is reinvested in assets for still higher returns. This is the classic Compounding method to grow your money exponentially.

By taking the above example, for the person, who invests Rs. 7000 every month and do compounding will end up with Rs. 10 lakhs after a period of 7 years.

For a person with salary of just Rs. 10,000 every month, having Rs. 10 lakhs after 7 years is a good deal.

Enjoy Life After 7 Years

Enjoy after 7 Years. After 7 years, either you can continue with aggressive saving and compounding or you can invest in assets that give you good returns with limited risk for example Mutual Funds etc. Some mutual funds will give you returns up to 15% though the risk is high. Funds like that can give you Rs. 1.5 lakhs in one year as income. This means that you get Rs. 12, 500 for every month for your expense.

Now with 7 years of Aggressive Saving experience behind you, don’t you think that you could live comfortable with Rs. 12, 500?

Besides, if you are not quitting your job or business after seven years then imagine how much money you will have to save and spend for the rest of your life.

The challenge is huge but is practical. Once you decide to work hard and suffer for 7 years then you can be sure to enjoy life after this period. All the calculations are made taking into consideration that your salary stays the same and the returns are fixed. The possibility of having higher income than we state here higher in real life.

Courtesy : moneyguideindia.com
 

Silentshadow

Well-Known Member
Dear Suri,

Have a question. When an inside bar is created is it essential that the trade triggered should be qualified in the next bar or any other consequitive bars would do unless we have another pair of mother an inside bar which invalidates it? Snap shot below

1] Mother bar [2765 & 2735]
2] Inside Bar [ 2763 & 2749]
3] Breakour bar [2757 & 2745]





Every Traders ultimate aim is to minimize risk to the possible extent and increase the profit to the extent possible..The technique here is one of such wonderful and awesome way of trading which provides huge gains with almost no risk.

To be called as a simple but a great method,it has to have following ingredients.

1.Simple (Every one starting from a kid should be able to understand it)
2.Risk should be Minimal.
3.Reward should be substantial.
4.Stress should be minimal.
5.It should have worked over the period of time (statistical edge)
6.It should be adaptable (Tradeable on any Time frame and in any conditions).

Further, the caliber of a trader or a businessman is judged not only by his profitability but also by looking at the risk he undertook to achieve that profit figure.

To all these questions,the answer was “Trading Inside Bars “ .If an amateur comes and says “I don’t know trading but I want to start trading profitably.Tell me something worth to do it“, Right away tell him to start trading with “Inside bars” as it is not only simple to understand but also as simple as it to trade.

The trading world has given so much importance to outside bars that Seldom
the “IB” got the due it deserved.

Assumptions and beliefs


1. An IB indicates a remote activity within the timeframe of its construction.

2.Hence an IB, most of the times either indicates accumulation happening at the end of a substantial down move or an accumulation in midst of a rally or

3.Distribution happening at the end of a substantial up move or distribution taking place in midst of a substantial down move.

4.The high of an IB is considered as an upper boundary

5.The low of the IB is considered as a lower boundary and

6.Breakout on any side is an indication that a particular party has taken over the charge by breaking the boundary or

7.In case of false breakout ,it is understood that the party which broke the boundary first is defeated and the opposite party has taken over the reins.




Qualification:

To be qualified as an Inside Bar popularly known as an IB, a bar has to have its Open/High/low and close within the body of its preceding bar.


In the above example we have bar "A "and bar "B".Bar “A “is called mother bar and bar “B” is called as an Inside Bar as its
high ( 1.3200) and low (1.3100) are contained
within the high and low of mother bar “A”.




Next we come to a breakout bar .

A breakout bar is a bar which breaks either the high or low of the IB as the case may be.







In the above noted example Bar
“C” is a breakout bar since it has broken the high of IB.



Hence a mother bar,An inside bar and a
breakout bar are the essentials parts of trading this technique.



Trading the Inside bar:



As
soon as an Inside bar is formed , we keep 2 pending orders of equal quantity .



A. A
buy order above the high of an IB .



B. A
sell order below the low of IB.







Scenario 1: When the high of the IB is broken: The Buy order gets
triggered and pending sell order will be modified with double the qty of buy
order.

Exa: We kept 1X Quantity pending buy
order at A and 1X quantity selling order at B.Now 1X quantity buying order gets triggered.Hence 1X quantity selling order
is modified to 2X quantity of selling order to be kept as SAR ( Stop and reverse )






Scenario 2: When the high of the
IB is broken and then price reverses and breaks the low of the IB.:When the
high of the IB is broken 1X quantity of buy order gets triggered.When price reverses and breaks the low of IB, 2X quantity sell order gets triggered and hence we have 1X Quantity sell order as net position.Now we place 1X quantity as pending buy order above the high of Breakout bar.



Lets take below illustration. The bar "C breaks high of IB at 1.5050.Say we have 2 lots of pending buy orders got executed. Now we place 4 lots of pending sell orders below the low of IB i.e:at 1.4990.

Price reverses and breaks the low of IB at 1.4990.Now 4 lots of pending sell orders get triggered and now we have 2 lots selling orders as net position.We place stop above the high of bar C @ 1.5080.




Scenario 3: When the low of the IB is broken: The sell order gets
triggered and pending buy order will be modified with double the qty of sell
order.



Exa:.1X quantity of selling order gets triggered.Now 1X quantity of buying order
is modified to 2X quantity of buying order to be kept as SAR ( Stop and reverse)






Scenario 4: When the low of the
IB is broken and then price reverses and breaks the high of the IB.:When the
low of IB is broken 1X quantity of sell order gets triggered.When price reverses and breaks
the high of the IB 2X quantity of buy order is triggered and hence we have 1X quantity buy order as net
position.Now we place 1X quantity pending sell order below the low of breakout bar "C".




Covering:

The most wonderfull
character of this technique lies in its R:R:very often we get to have trades of
1:5 ,1:10 R:R .Considering this fact 50% of the positions are covered at 1:3 and 25%
at 1:4 and rest till trend exhausts.



As we know the exit part is the one subject which cannot be defined universally.It is a combination of several factors hence I would say each trader can cover the positions according to his own established disciplines.

--------------------------------------------------------------------------------------------------------------------------------------



Conclusion

1.It is a simple technique both for understanding as well as trading.

2.No stress as rules are clearly defined upfront.

3.Risk to Reward is awesome .

4.Can be traded on anytime frame.

5.Can be used for both scalping (5 Min TF to 1 Hour ) and swing Trading ( 4 Hour TF to monthlY.

Courtesy : http://www.dukascopy.com/fxcomm/fx-article-contest/?Trading-Inside-Bars&action=read&id=401
 

Similar threads