Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
turtle trading for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | //taken from http://web.me.com/araneus1/spiderstradingweb/Smallcorner/Entries/2006/8/31_The_Turtle_Corner.html Capital = 100000; pctFluctation = 1; Buy = H > Ref ( HHV ( H , 20), -1); Sell = L < Ref ( LLV ( L , 10), -1); N = ATR (20); ApplyStop (stopTypeLoss, stopModePoint, 2* N, 0); numshrs = Capital * pctFluctation / (100 * N); SetPositionSize (numshrs , spsShares ); |