Zerodha Part 2

Status
Not open for further replies.
Zerodha

Can we write an algo code for a stratgey like one on traderjee, known as dhiraj' 2652 for intraday http://www.traderji.com/day-trading/25307-best-way-day-trading-2652-theory-trading.html

More lucidy expalined here http://intraday.weebly.com/about-2652.html with calculations.

The strategy is based on previous days high - low price and today's high -low price at a given time, and not on any indicator.

Does the alogo trading has an ability to place stop loss order simultaneously on its own and can it cancel the stop loss order after hitting the target price?

Can we automate the whole process in the given strategy, so that one can take multiple positions.
 

Zerodha

Well-Known Member
Zerodha

Can we write an algo code for a stratgey like one on traderjee, known as dhiraj' 2652 for intraday http://www.traderji.com/day-trading/25307-best-way-day-trading-2652-theory-trading.html

More lucidy expalined here http://intraday.weebly.com/about-2652.html with calculations.

The strategy is based on previous days high - low price and today's high -low price at a given time, and not on any indicator.

Does the alogo trading has an ability to place stop loss order simultaneously on its own and can it cancel the stop loss order after hitting the target price?

Can we automate the whole process in the given strategy, so that one can take multiple positions.
This is not really technical analysis, with algoZ, you need it to be a technical analysis strategy.

Yes you can have a preset order type, quantity and stlop loss%, it will act as a cover order so stop loss will automatically get cancelled..
 

yusi

Well-Known Member
What is the default value for an indeterminate function ?

Say, EMA(Close,14) when 14 bars are not available
Or, Set H14 = HHV(14) in the same situation.
 

hc9001

Well-Known Member
Re: Launch of algoZ

A small suggestion to Zerodha about algoZ:-

Please include your ‘brokerage calculator’ in algoZ ‘Trede Report’ so that traders get the ‘Real Backtest Result'.
You may exclude Stamp Duty. But, show the number of trading days, so that we can calculate it separately multiplying by Rs 50.

Please give us clear picture. Because, it is well known fact that, if a system generates a million dollar in net profit, then it probably generates more than a million dollars in transaction costs.

Best Wishes. Cheers. :)
 
Dear Zerodha,

What happened to your own DP plan? Any progress on that front or plan has been shelved for the time being?

Annoying IFSL bills and charges reminded of your plan...therefore asking :)

Thanks
 

Zerodha

Well-Known Member
What is the default value for an indeterminate function ?

Say, EMA(Close,14) when 14 bars are not available
Or, Set H14 = HHV(14) in the same situation.
Can you clarify this Yusi,

If you mean what output would an expression like EMA(Close,14) generate if 14 candles arent available. Well, if thats the case, then it wont generate any signals; it would give an error. you would have to use a lower time frame/ fewer bars or get more data. But 14 bars should be available in almost any situation.

We have answered quite a bit on coding queries do check it out here:

http://www.zerodha.com/z-connect/blog/view/code-your-technical-analysis-strategy

should answer a lot of your basic queries...
 

Zerodha

Well-Known Member
Dear Zerodha,

What happened to your own DP plan? Any progress on that front or plan has been shelved for the time being?

Annoying IFSL bills and charges reminded of your plan...therefore asking :)

Thanks
Punter,

Hmmm.. not shelved, just not on top of priority list.. :) ..

Good night..
 

yusi

Well-Known Member
Can you clarify this Yusi,

If you mean what output would an expression like EMA(Close,14) generate if 14 candles aren’t available. Well, if that’s the case, then it won’t generate any signals; it would give an error. you would have to use a lower time frame/ fewer bars or get more data. But 14 bars should be available in almost any situation.

We have answered quite a bit on coding queries do check it out here:

http://www.zerodha.com/z-connect/blog/view/code-your-technical-analysis-strategy

should answer a lot of your basic queries...
Just curiosity; had read the algoZ manual a few months back and did not remember how it handled exceptions, specially runtime ones.

Actually, the question was triggered by your response to Shekhar that Dhiraj's 2652 sytem was "not really technical analysis". Whether it is or not is irrelevant, but one got to wonder why you could not code it. After rereading, I realize that probably algoZ misses the entire class of reflective functions. For example, there is no way to know within the script what is the bar interval, or the time of the latest bar. If this is correct, some of the horses-for-courses kind of systems are ruled out; anything that says first 10 bars of the day, or first 3 days after last expiry, or 2:30 factor.

Reminded of QuoteTracker paintbars.
 
Last edited:
Status
Not open for further replies.