/*
Preload Image (w/ progress bar) script II (By BGAudioDr@aol.com, http://www.bgaudiodr.iwarp.com/)
Script featured on Dynamicdrive.com
For full source, TOS, and 100's more DHTML scripts, visit http://www.dynamicdrive.com
*/
A
step by step slide show that explains how to use SAFIR-X and Tradestation
SAFIR-Xs Download
TradeStation 2000i, Safir-X and Sirtrade 2000: How to use them
Number of Pictures: 2
of 4
main();
/*
Interactive Image slideshow with text description
By Christian Carlessi Salvadó (cocolinks@c.net.gt)
For full source code to this script and more, visit http://dynamicdrive.com
*/
g_fPlayMode = 0;
g_iimg = 0;
g_imax = 0;
g_ImageTable = new Array();
function ChangeImage(fFwd)
{
if (fFwd)
{
if (++g_iimg==g_imax)
g_iimg=0;
}
else
{
if (g_iimg==0)
g_iimg=g_imax;
g_iimg--;
}
Update();
}
function Update(){
document.all._Ath_Slide.src = g_ImageTable[g_iimg][0];
document.all._Ath_FileName.innerHTML = g_ImageTable[g_iimg][1];
document.all._Ath_Img_X.innerHTML = g_iimg + 1;
document.all._Ath_Img_N.innerHTML = g_imax;
}
function Play()
{
g_fPlayMode = !g_fPlayMode;
if (g_fPlayMode)
{
btnPrev.disabled = btnNext.disabled = true;
Next();
}
else
{
btnPrev.disabled = btnNext.disabled = false;
}
}
function OnImgLoad()
{
if (g_fPlayMode)
window.setTimeout("Tick()", g_dwTimeOutSec*1000);
}
function Tick()
{
if (g_fPlayMode)
Next();
}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}
function main()
{
Update();
}
////configure below variables/////////////////////////////
//configure the below images and description to your own.
g_ImageTable[g_imax++] = new Array ("images/sxm1.gif", "Open a chart in TradeStation 2000i or TradeStation Pro");
g_ImageTable[g_imax++] = new Array ("images/sxm2.gif", "Open the TradeStation Power Editor, New Indicator, choose the SirTrade2000 template folder, then select the SirTrade2000 TSD template. ");
g_ImageTable[g_imax++] = new Array ("images/sxm3.gif", "Give a name to the indicator that will use the selected SirTrade2000 TSD template.");
g_ImageTable[g_imax++] = new Array ("images/sxm4.gif", "Only modify the code lines with the blue dots: Type the formula name of the indicators that you want to use, set the number of indicators ( here 4) and the name of the output (*.TSD) file.");
g_ImageTable[g_imax++] = new Array ("images/sxm5a.gif", "Verify (F3) and run the indicator in the TradeStation chart.");
g_ImageTable[g_imax++] = new Array ("images/sxm5b.gif", "The ideal buy-sell signals to be learned by Safir-X are highlighted by the red zig zag, and the TRIAL.TSD file now has been built, ready for use.");
g_ImageTable[g_imax++] = new Array ("images/sxm5c.gif", "Ideal buy-sell signals to be learned by Safir-X (detail)");
g_ImageTable[g_imax++] = new Array ("images/sxm5.gif", "Open the Safir-X Assistant for Expert Traders, click on the DATA icon [1st to the left] and select the TRIAL.TSD file in the dialog box.");
g_ImageTable[g_imax++] = new Array ("images/sxm6.gif", "The Assistant now displays the raw data serie (bottom chart), read from the TSD file ( that also contains your indicators and the ideal buy-sell signals).");
g_ImageTable[g_imax++] = new Array ("images/sxm7.gif", "Click on the Smart Explore icon ( 3rd from the left). Now, the 100% automated search starts. The Performance Summary is displayed (right panel), as well as the system Equity Curve ( yellow for training, white for testing).");
g_ImageTable[g_imax++] = new Array ("images/sxm8.gif", "After a few minutes later, the best solution is selected. [You may want to test over other unseen data ( reload an other TSD file and click on Check)].");
g_ImageTable[g_imax++] = new Array ("images/sxm9.gif", "When you agree with a solution found, save it as a *.FZB file ( here TRIAL.FZB). This file will contain all the neurofuzzy system rules, ready to use in TradeStation ");
g_ImageTable[g_imax++] = new Array ("images/sxm10.gif", "Go back to the Power Editor and open a new signal using the SirTrade2000_Run template. We will only tell in this template what are the indicators to be used ( the same of course than in step 4) and the name of the FZB file to be called by TradeStation ( this file was just saved in the previous step).");
g_ImageTable[g_imax++] = new Array ("images/sxm11.gif", "Basically it's a copy and paste of the indicator used when building the TSD fil in step 4, and we also write the name of the FZB file saved step 12. Modified lines are marked with a blue dot. Verify (F3). Your Signal is now ready for use.");
g_ImageTable[g_imax++] = new Array ("images/sxm12.gif", "If you use TradeStation 2000i, create a strategy and call the signal *Safir Test 1* in the Strategy Builder. TradeStation Pro users may call the signal directly. ");
g_ImageTable[g_imax++] = new Array ("images/sxm13.gif", "Call the system in the chart window that you want to use. There will be no difference in use from this point with any classical trading system.");
g_ImageTable[g_imax++] = new Array ("images/sxm14.gif", "The neurofuzzy trading system now smoothly runs in the TradeStation window and warns you when new order need to be placed and so on.");
g_dwTimeOutSec=4
////End configuration/////////////////////////////
window.onload=Play
TradeStation is the charting
application, that interfaces as a standard with our neurofuzzy logic
products.
Sirtrade 2000 is the TradeStation
interface ( a collection of easy language templates, functions and DLL's)
used for the neurofuzzy logic development and runtime operation within
TradeStation.
( SAFIR-X) is the standalone application that will use the files
produced by the Sirtrade2000 / TradeStation to develop and test the
neurofuzzy trading systems.
Safir-X and
TradeSation
This section explains in
a 17 pictures slide show how to build a trading system with
TradeStation and Safir-X.
We start from the raw data chart, pick some
indicators, build the training file, load it in the Safir-X
Assistant, train and test it, save the best system and run
the system in TradeStation.
The whole process can be completed in less than
5 minutes if you feel comfortable with TradeStation.
A true performance if you consider that we have
developed and tested a trading system with 400 neurofuzzy
rules in such a short time.