indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker

FXPrimus
Reply
 
Bookmark and Share LinkBack (1) Thread Tools Display Modes
  #1 (permalink)  
Old 14-06-2009, 09:11 AM
zerontgt zerontgt is offline
Regular
 
Join Date: Jun 2009
Posts: 41
Thanks: 14
Thanked 86 Times in 31 Posts
zerontgt will become famous soon enoughzerontgt will become famous soon enoughzerontgt will become famous soon enough
Default 30 Min Strategy AFL coding

Trading Strategy AFLs

------------------------
Source
amibrokerfan forum about some interesting trading strategies.
Would like the senior members to have a look at these strategies & suggest AFL codes for the same.
Regards!

***********************************************

1. MORNING 30-MINUTES STRATEGY.




This strategy is based on understanding the moves of the BROKER. ( sentiments )
If you track the Close price you will wonder the Open price of the trade day is not always the same as that of the previous days Close price. It is because the major brokers (BIG TRADERS) according to the sentiments lay a trap in which small traders get trapped and run into losses. If we understand the brokers mind we can make profits 90 % times in normal market in the first 3 to 30 minutes of trading.( Remember you should close your positions in this time frame )

Take the following figures and trade plan with you on the basis of calculations given below. We will call it Brokers Strategy ( BS )

Difference between HIGH & LOW of previous day i.e.: D = ( H – L )

Now BS = D / 3

BUY PRICE = ( Pr. Close – BS )

SELL PRICE = ( Pr. Close + BS )

For understanding the BS one should understand the following……..
STRONG SHARE or STRONG CLOSE (close price is higher than previous close) &
WEAK SHARE or WEAK CLOSE ( close price is lower than previous close )
Now on the basis of above calculations you are ready with the figures i.e.: BUY PRICE, Pr. CLOSE & SELL PRICE of STRONG SHARE & WEAK SHARE separately.

Now on trade day if STRONG share opens anywhere between Pr. Close & BUY PRICE you can BUY first & keep for sell @ SELL PRICE as your target.
The Trap :- As the broker opens the share at a price lower than Pr. Close one gets the feeling as if the share has become weak and sells it, thus falling in the trap.

On trade day if WEAK share opens at or above SELL PRICE you can SELL first & buy later @ BUY PRICE as your target.
The Trap :- As the broker opens the share at a higher price than the Pr. Close one gets the feeling that the share has become strong and buys it thus falling in the trap.

This strategy requires you to be very fast in taking decisions and accordingly positions. Furthermore One should compulsorily come out or close the position in the mentioned time frame. Life is not that easy and if you find that your position was wrong immediately square it ( close it)

Note :- The BUY PRICE as per above calculation is approximately S1
& The SELL PRICE as per above calculation is approximately R1


* Some more morning strategies :………………

* Some more morning strategies :……………….

A ) SHORT SELL :- ( sell first & buy later )

OPEN & HIGH IS SAME….
Sell just below HIGH price if it is not breaking the high price for 3 minutes.

Example : If O-H is 110 sell @ 109 with a SL ( stop loss ) just above HIGH.
Best results are observed if :-
a) Market is Bearish ( weak )
b) O-H rate is near or above SELL PRICE i.e.: ( pr. Close + BS )
c) O-H rate is @ or near R1, R2, R3
d) Share price has gained 10-30% in previous 1-3 trade days.
e) Weak share but O-H rate is @ or near R1, R2, R3


B ) BUYING :- ( buy first & sell later )

1. OPEN & LOW IS SAME……..
Buy just above LOW price if it is not breaking the low price for 3 minutes. Example : If O-L is 100 buy @ 101 with SL ( stop loss ) just below LOW.
Best results are observed if :-
a) Market is Bullish ( strong )
b) Pr. Close is Strong ( i.e.: it is a strong share )
c) O-L is near or below Pr. Close
d) O-L rate is near or below BUY price or @ S1, S2, S3

2. STRONG SHARE :- ( i.e.: strong close pr. day )

BUY if :-…………..
a) OPEN is @ BUY price.
b) OPEN is same as pr. Close.
c) OPEN & LOW is same, as discussed above.
d) OPEN is just above pr. Close but far below SELL price.

Best results if market is bullish. Keep the target of getting out @ SELL price, or @ R1, R2, R3 if it is showing strength & volume is more than pr. Day.

PLEASE REMEMBER : 1) AS A INTRADAY TRADER YOU SHOULD NOT FIGHT WITH THE MARKET. BE READY TO ACCEPT A SMALL DEFEAT RATHER THAN MAKING IT A BIG FAILURE.
2) IT IS NOT A EASY GAME. UNDERSTAND IT . ALWAYS ANALISE SUCCESS & FAILURE FOR EVERY POSITION YOU TAKE.
3) Select a strategy. Do the homework before trading for that strategy only. Don't mix other strategy with it. PAPER-TRADE.for few days sincerely(the more time you take the better)......than start with small qty. for a period of say a month(do not overtrade your limits).......once your success for your strategy is 70-80%.........than increase qty in steps again. .....DO NOT OVER RISK.......YOU CANNOT CHANGE THE MARKET ....ALL YOU CAN CHANGE IS YOURSELF......TOWARDS SUCCESS.
4) Once you get the feel of price movements , how and why they happen....then YOU may take additional guidance of any softwares (NOT MANDATORY)
5) YOU CAN MAKE MONEY BY STICKING TO ONE STRATEGY FOREVER ALSO.......NEWER FORGET THIS.........SO.......JUST KEEP A AIM TO MASTER ONE STRATEGY.......AND LOOK FOR OPPORTUNITIES ....FULFILLING THE CRITERIA OF YOUR STRATEGY


// borrowed concepts

Last edited by zerontgt; 14-06-2009 at 09:23 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 10 Users Say Thank You to zerontgt For This Useful Post:
  #2 (permalink)  
Old 14-06-2009, 09:15 AM
Shrees's Avatar
Shrees Shrees is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Dehradun
Posts: 5,914
Thanks: 22,763
Thanked 17,525 Times in 5,024 Posts
Shrees has a reputation beyond repute
Shrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond repute
Default

Posted AFL long back. Check its coupled in Mkt Profile Supplemetaries thread , earlier posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 5 Users Say Thank You to Shrees For This Useful Post:
  #3 (permalink)  
Old 14-06-2009, 09:33 AM
zerontgt zerontgt is offline
Regular
 
Join Date: Jun 2009
Posts: 41
Thanks: 14
Thanked 86 Times in 31 Posts
zerontgt will become famous soon enoughzerontgt will become famous soon enoughzerontgt will become famous soon enough
Default

Shiree
Thanks for doing my tomorrows work in your yestertimes.
Hope this link here is the right one i found.
AFL for Market Profile with supplementaries

Let us see the new problems I may face

Market profile is one complicated stuff.
All I need is a simple afl, with bars or candles and application of trading concepts mentioned above.
Is there afl showing things in a laymans perspective? please give me one.

Thanks once again
with humble salutes.

Last edited by zerontgt; 14-06-2009 at 09:38 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to zerontgt For This Useful Post:
  #4 (permalink)  
Old 14-06-2009, 09:49 AM
Shrees's Avatar
Shrees Shrees is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Dehradun
Posts: 5,914
Thanks: 22,763
Thanked 17,525 Times in 5,024 Posts
Shrees has a reputation beyond repute
Shrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond repute
Default

Its termed FPSR (Floor Pivot Sup/Res) .

http://www.inditraders.com/showpost....92&postcount=5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Shrees For This Useful Post:
  #5 (permalink)  
Old 14-06-2009, 10:28 AM
zerontgt zerontgt is offline
Regular
 
Join Date: Jun 2009
Posts: 41
Thanks: 14
Thanked 86 Times in 31 Posts
zerontgt will become famous soon enoughzerontgt will become famous soon enoughzerontgt will become famous soon enough
Default

Shiree
many thanks.

I am looking for live intraday nse stock data import from yahoo to amibroker.
There was a simple way designed by somebody just create a new db and replace the eod aqd format file by intraday aqd format file then it starts as told. i never got that far. the format file never worked.
any info in this direction kindly share with me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to zerontgt For This Useful Post:
  #6 (permalink)  
Old 14-06-2009, 10:57 AM
Shrees's Avatar
Shrees Shrees is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Dehradun
Posts: 5,914
Thanks: 22,763
Thanked 17,525 Times in 5,024 Posts
Shrees has a reputation beyond repute
Shrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond reputeShrees has a reputation beyond repute
Default

Zero I use TDI paid service PIB to AMI . It works for Yahoo to AMI also. Please browse these forums somewhere members have posted free utilities. Also browse Yahoo BSE-NSE gps file section.


somebody posted that link check it---
http://www.traderji.com/software/240...-backfill.html

Last edited by Shrees; 14-06-2009 at 11:01 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to Shrees For This Useful Post:
  #7 (permalink)  
Old 14-06-2009, 11:12 AM
bobby bobby is offline
Regulars
 
Join Date: Mar 2009
Posts: 185
Thanks: 216
Thanked 317 Times in 119 Posts
bobby is infamous around these partsbobby is infamous around these partsbobby is infamous around these partsbobby is infamous around these parts
Default

Originally Posted by shiree View Post
Zero I use TDI paid service PIB to AMI . It works for Yahoo to AMI also. Please browse these forums somewhere members have posted free utilities. Also browse Yahoo BSE-NSE gps file section.


somebody posted that link check it---
http://www.traderji.com/software/240...-backfill.html

at present I am trying Demo(15 days) of realtimedataexpress it fetches data from many sources.PIB to Ab is Rs250/month
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to bobby For This Useful Post:
  #8 (permalink)  
Old 14-06-2009, 11:16 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Regulars
 
Join Date: Mar 2009
Posts: 125
Thanks: 198
Thanked 361 Times in 101 Posts
Phoenix has a spectacular aura aboutPhoenix has a spectacular aura aboutPhoenix has a spectacular aura aboutPhoenix has a spectacular aura aboutPhoenix has a spectacular aura aboutPhoenix has a spectacular aura about
Default

PIB to AB:

I have noticed that PIB writes the data in our system every minute or so. Is there any software which can make PIB write the data RT or every 5-10 sec?

If this is not possible, then anything which has PIB as the data source would be at least 1-2 min delayed and not RT?
__________________
Trading is not a job where you get paid by the hour.
You get paid for doing the right thing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 14-06-2009, 11:49 AM
anand's Avatar
anand anand is offline
.
 
Join Date: Mar 2009
Posts: 174
Thanks: 256
Thanked 694 Times in 150 Posts
anand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to beholdanand is a splendid one to behold
Default

Originally Posted by Phoenix View Post
PIB to AB:

I have noticed that PIB writes the data in our system every minute or so. Is there any software which can make PIB write the data RT or every 5-10 sec?

If this is not possible, then anything which has PIB as the data source would be at least 1-2 min delayed and not RT?

yes u r right pib data when feeded to any TA s/w is delayed by atleast 1 to 2 min
in that case u may try odin with chartsdata which is better close to realtime
__________________
Money is hard to earn and easy to lose.Guard yours with care.

Last edited by anand; 14-06-2009 at 11:52 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to anand For This Useful Post:
  #10 (permalink)  
Old 14-06-2009, 12:18 PM
zerontgt zerontgt is offline
Regular
 
Join Date: Jun 2009
Posts: 41
Thanks: 14
Thanked 86 Times in 31 Posts
zerontgt will become famous soon enoughzerontgt will become famous soon enoughzerontgt will become famous soon enough
Default

Hi guys

SEEMS YOU ARE ON A DIFFERENT WAVELENGTH .
I have got SPM a wonderful paid software that gives tick data.

I am only talking about direct import with our own aqdformat file.
I dont want TDI or XYZ or Chartsdata.These are made by someone for their purpose. pib etc imports are late.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to zerontgt For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker


Tags
amibroker, trading strategy

Thread Tools
Display Modes

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 On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.inditraders.com/amibroker/995-30-min-strategy-afl-coding.html
Posted By For Type Date
AFL. Best Trading Software For afl (COMMODITY Market) from All Trading Software This thread Refback 12-08-2011 07:58 PM

FXPrimus

All times are GMT +5.5. The time now is 03:33 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2