Traderji.com - Discussion forum for Stocks Commodities & Forex

Trading System Junkyard

Discuss Trading System Junkyard at the Technical Analysis within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Originally Posted by dhakkan Have you seen this ...<http://www.amibroker.com/library/detail.php?id=724> .. its not a system...but its ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > METHODS & STRATEGIES > Technical Analysis

Notices

Technical Analysis Discussion of all the principles involved in technical analysis.


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #51  
Old 18th April 2008, 08:09 PM
Member
 
Join Date: Oct 2006
Posts: 343
Thanks: 0
Thanked 0 Times in 0 Posts
raosrinivas is on a distinguished road
Reputation: 20
Default Re: Trading System Junkyard

Quote:
Originally Posted by dhakkan View Post
Have you seen this ...<http://www.amibroker.com/library/detail.php?id=724> .. its not a system...but its funny...can possibly be junk... ... its somewhat similar to what you are saying ....
who ever have written that, they don't know the for loop
Reply With Quote
  #52  
Old 18th April 2008, 10:01 PM
Member
 
Join Date: Sep 2005
Posts: 1,102
Blog Entries: 1
Thanks: 9
Thanked 25 Times in 17 Posts
beginner_av will become famous soon enoughbeginner_av will become famous soon enough
Reputation: 107
Default Re: Trading System Junkyard

Quote:
Originally Posted by raosrinivas View Post
who ever have written that, they don't know the for loop
whats wrong with the code? thats an optimized (economical) nested statement. Why dont you show your great programming skills and use the for loop to write the code in fewer lines?

Last edited by beginner_av; 18th April 2008 at 10:10 PM.
Reply With Quote
  #53  
Old 18th April 2008, 10:06 PM
Member
 
Join Date: Sep 2005
Posts: 1,102
Blog Entries: 1
Thanks: 9
Thanked 25 Times in 17 Posts
beginner_av will become famous soon enoughbeginner_av will become famous soon enough
Reputation: 107
Default Re: Trading System Junkyard

Quote:
Originally Posted by dhakkan View Post
Have you seen this ...<http://www.amibroker.com/library/detail.php?id=724> .. its not a system...but its funny...can possibly be junk... ... its somewhat similar to what you are saying ....
Dhakkan (well you look very dignified in the pic) so I hate calling you Dhakkan, anyways, it is a very good piece of mkt info. I have been using a more advanced version of the same for a few years now. I think this one will come as a exploration output, not on the screen live tick by tick.

It is definitely not junk if used properly.

All the best,
BAV
Reply With Quote
  #54  
Old 18th April 2008, 10:25 PM
Member
 
Join Date: Mar 2008
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
dhakkan is on a distinguished road
Reputation: 16
Default Re: Trading System Junkyard

Quote:
Originally Posted by beginner_av View Post
Dhakkan (well you look very dignified in the pic) so I hate calling you Dhakkan, anyways, it is a very good piece of mkt info. I have been using a more advanced version of the same for a few years now. I think this one will come as a exploration output, not on the screen live tick by tick.

It is definitely not junk if used properly.

All the best,
BAV
Thanks sir... I prefer to be called Dhakkan...
But your name also looks pretty dignified...you could manage with a little better wordings in your posts...No offense...
Reply With Quote
  #55  
Old 18th April 2008, 10:42 PM
Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Trader_Z is on a distinguished road
Reputation: 10
Default Re: Trading System Junkyard

Quote:
Originally Posted by kkseal View Post
The beauty of Oxy's suggestion is that you get these 'tips' right from the horse's mouth - the mkt.
and if wrong, shall get the beating from market (losses) as well

still waiting for SGM's reply....
Reply With Quote
  #56  
Old 18th April 2008, 10:43 PM
Member
 
Join Date: Sep 2005
Posts: 1,102
Blog Entries: 1
Thanks: 9
Thanked 25 Times in 17 Posts
beginner_av will become famous soon enoughbeginner_av will become famous soon enough
Reputation: 107
Default Re: Trading System Junkyard

Quote:
Originally Posted by dhakkan View Post
Thanks sir... I prefer to be called Dhakkan...
But your name also looks pretty dignified...you could manage with a little better wordings in your posts...No offense...
Unfortunately I get tired of lot of crap being said here. I have tremendous respect for a few people who have consistently adhered to high quality posts. Its not about newbie vs experienced, I just hate people shooting their mouth without bothering or wanting to understand. Nothing more to it, and nothing personal.
Reply With Quote
  #57  
Old 18th April 2008, 10:48 PM
Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Trader_Z is on a distinguished road
Reputation: 10
Default Re: Trading System Junkyard

Quote:
Originally Posted by beginner_av View Post
I have been using a more advanced version of the same for a few years now. I think this one will come as a exploration output, not on the screen live tick by tick.
hey beginner_av, can u plz consider guys like me, who do not understand afl. If u can write in plain english what the code attempts to do it can be much helpful.
Reply With Quote
  #58  
Old 18th April 2008, 10:59 PM
Member
 
Join Date: Oct 2006
Posts: 343
Thanks: 0
Thanked 0 Times in 0 Posts
raosrinivas is on a distinguished road
Reputation: 20
Default Re: Trading System Junkyard

Quote:
Originally Posted by Trader_Z View Post
hey beginner_av, can u plz consider guys like me, who do not understand afl. If u can write in plain english what the code attempts to do it can be much helpful.
exactly something which i was trying to tell everyone in this forum. instead of afl,metastock,fibo , easy lang, if people can post in english strategies that would be good.
Reply With Quote
  #59  
Old 18th April 2008, 11:13 PM
Member
 
Join Date: Sep 2005
Posts: 1,102
Blog Entries: 1
Thanks: 9
Thanked 25 Times in 17 Posts
beginner_av will become famous soon enoughbeginner_av will become famous soon enough
Reputation: 107
Default Re: Trading System Junkyard

I have left amibroker quite some time back. But here's something for you.

The program tries to find out the trend in different periods, long term by 140 days, medium by 60 days and short term by 8 days.


Filter = 1; // all symbols and quotes accepted.
DTL=140; // DTL = Define Trend Long Self explanatory
DTM=60; // DTM = Define Trend Medium Self explanatory
DTS=8; // DTS = Define Trend Short Self explanatory

//////////////////////////////////////////////////////////////

TL=LinRegSlope(MA(C, DTL),2); // TL = Trend Long This is the Linear Regression Slope of a simple moving average of the long term trend period, here 140 days

TM=LinRegSlope(MA(C, DTM),2); // TM = Trend Medium
TS=LinRegSlope(MA(C, DTS),2); // TS = Trend Short

TLL=IIf(LinRegSlope(MA(C, DTL),2) > 0,True, False); This checks whether linear Reg skope is > 0, ie uptrend

TMM=IIf(LinRegSlope(MA(C, DTM),2) > 0,True, False);
TSS=IIf(LinRegSlope(MA(C, DTS),2) > 0,True, False);

This checks the strength of the trend by checking the long term LinRegSlope and assigning +, ++ and +++ according to the defined threshold


TLLL=
WriteIf(TL>0 AND TL<0.3,"+",
WriteIf(TL>=0.3 AND TL<0.6 ,"+ +",
WriteIf(TL>=0.6,"+ + +",
WriteIf(TL<0 AND TL>-0.3,"-",
WriteIf(TL<=-0.3 AND TL>-0.6 ,"- -",
WriteIf(TL<=-0.6,"- - -",""))))));

Same for medium term and eventually short term


TMMM=
WriteIf(TM>0 AND TM<0.3,"+",
WriteIf(TM>=0.3 AND TM<0.6 ,"+ +",
WriteIf(TM>=0.6,"+ + +",
WriteIf(TM<0 AND TM>-0.3,"-",
WriteIf(TM<=-0.3 AND TM>-0.6 ,"- -",
WriteIf(TM<=-0.6,"- - -",""))))));

TSSS=
WriteIf(TS>0 AND TS<0.3,"+",
WriteIf(TS>=0.3 AND TS<0.6 ,"+ +",
WriteIf(TS>=0.6,"+ + +",
WriteIf(TS<0 AND TS>-0.3,"-",
WriteIf(TS<=-0.3 AND TS>-0.6 ,"- -",
WriteIf(TS<=-0.6,"- - -",""))))));

//////////////////////////////////////////////////////////////

This is the output of the exploration. here along with the Strength, the color is decided using the direction of the trend



AddTextColumn( TLLL, "MA"+-DTL, 1 , colorDefault,
IIf( TLL==True, colorGreen, colorRed ),-1 );
AddTextColumn( TMMM, "MA"+-DTM, 1 , colorDefault,
IIf( TMM==True, colorGreen, colorRed ),-1 );
AddTextColumn( TSSS, "MA"+-DTS, 1 , colorDefault,
IIf( TSS==True, colorGreen, colorRed ),-1 );

//////////////////////////////////////////////////////////////

Here the message in an exploration col output defines the trend

message=
WriteIf(TL>=0.3 AND TM>=0.3 AND
TS>=0.3, "Strong Up Trend",
WriteIf(TL<=-0.3 AND TM<=-0.3 AND
TS<=-0.3, "Strong Down Trend",
WriteIf(TLL==True AND TMM==True AND
TSS==True,"Up Trend",
WriteIf(TLL==False AND TMM==False AND
TSS==False,"Down Trend", "No Trend"))));


AddTextColumn( message, "Overall Trend", 1 ,
colorDefault,IIf(TLL==True AND TMM==True AND
TSS==True, colorGreen,
IIf(TLL==False AND TMM==False AND
TSS==False, colorRed, colorDefault )),-1 );

//////////////////////////////////////////////////////////////

This is the part where the program is pointing whether the trend id starting, or mature etc


x = IIf(Cross(LinRegSlope(MA(C, DTL),2),0) OR
Cross(0, LinRegSlope(MA(C, DTL),2) ), True, False);
y = BarIndex()-ValueWhen(x==True, BarIndex(),1);

Phase=WriteIf(Y>=400,"Mature",WriteIf(Y>100 AND
Y<400, "Progress", WriteIf(Y<=100, "Initial", "")));
//AddColumn( y, "Trend Phase", 1 , colorDefault, -1);
AddTextColumn( Phase, "Trend Phase", 1 , colorDefault, -1);

//////////////////////////////////////////////////////////////
Comments=
WriteIf(Y>=400,"Mature trend with risk of bubble",
WriteIf(y<400 AND TLL==True AND TMM==True AND TSS==True,
"Keep on coming baby $",
WriteIf(y<15 AND TLL==True AND TMM==True AND TSS==True OR
TLL==False AND TMM==False AND TSS==False,
"Are you going to grow up and become a big boy?",
WriteIf(y<400 AND TLL==False AND TMM==False AND TSS==False,
"Keep on coming baby $$",
WriteIf(TLL==True AND TMM==True AND TSS==False OR
TLL==False AND TMM==False AND TSS==True,
"Risk for short term reversal",
WriteIf(TLL==True AND TMM==False AND TSS==True OR
TLL==False AND TMM==True AND TSS==False,
"trading range-avoid",
"live to trade another day"))))));

AddTextColumn( Comments, "Comments", 1 ,
colorDefault,colorDefault,-1 );


//////////////////////////////////////////////////////////////

Last edited by beginner_av; 18th April 2008 at 11:19 PM.
Reply With Quote
  #60  
Old 18th April 2008, 11:25 PM
Member
 
Join Date: Jan 2008
Posts: 99
Thanks: 0
Thanked 1 Time in 1 Post
ajaygodha is on a distinguished road
Reputation: 11
Default Re: Trading System Junkyard

Friends has anybody ever tried Fibonacci Galatic Trader SW?
Reply With Quote
Sponsored Links

Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +5.5. The time now is 11:01 PM.

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.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com