File Exchange

image thumbnail

Tradeguide

version 1.0.0.0 (906 Bytes) by Nagi Hatoum
Gives best buy and sell signal to benchmark trading system.

3 Downloads

Updated 01 Apr 2004

No License

Takes column-wise Close Open High and Low data
Gives Buy and Sell signals for maximum practical profit.

Ignores small trend changes or flat days and follow biggest local trends.Profitable spikes are included.

Tradeguie signal offers a practical trading benchmark training set for Neural Networks and other learning algorithms or TA.

There are no hold signals generated.

Cite As

Nagi Hatoum (2021). Tradeguide (https://www.mathworks.com/matlabcentral/fileexchange/4693-tradeguide), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

sairamesh nammi

Complete nonsense.

Burkley Patterson

Thanks! I've been meaning to make something like this for a while, but now I don't have to. It seems to me that all the bad reviews have come from people who miss the point of the submission.

Jan Koolen

In reply to Dimitri Shvorob:

"The author then looks for switching signs, forgets about them, and (for some reason) sets trade = buy. A total of 3 meaningful lines.."

Not true in my opinion.
Switching signs are stored in a vector named changemarker (not forgotten about).
Similarly, values of 1 (buy), and 0 (sell) are stored in a vector named tradesignal. Nowhere does the author set 'trade = buy'. Use these vectors as you see fit.

The strategy may be simple, but the script is described as merely a benchmark for NN.

Chris Troutner

This is a great program for someone looking for a trend identification program. In order to plot the data this file generates, make sure to download plotradeguide.m and cndl.m, both published by Nagi on the file exchange as well.

Chris Troutner

This is a great program for someone looking for a trend identification program. In order to plot the data this file generates, make sure to download plotradeguide.m and cndl.m, both published by Nagi on the file exchange as well.

Dimitri Shvorob

The strategy boils down to 'daily return positive - buy at the day's start; daily return negative - sell at the day's start'.
The author then looks for switching signs, forgets about them, and (for some reason) sets trade = buy. A total of 3 meaningful lines..

Scott Miller

Constantin,

I'm afraid you don't understand the purpose of this script. It is not in order to provide a strategy to make a profit, because as you point out, it uses future information to determine the optima, but rather to give the best possible strategy with perfect information to compare the performance of other strategies with. It is impossible to perform better than this algorithm, so the closer to this performance that YOUR algorithm comes, the more "efficient" it is. I'm not rating this yet, since I haven't tried it out yet, but the purpose is clear and is quite useful.

Scott

constantin milea

A complete nonsense.Uses future data to act on the past .

aa aa

good luck with "shift by 1 day"

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!