Click here to Login

                                                   Results DISPARITY


Rajeev Upadhye
2018-09-23 02:27:06

I have created a following trading system


SetSimLongRank(((ema(5) - ref(ema(5),5))/5)* (100 * Volume/Avg(Volume,7)) );

// Buy rules

Rule1 = cross(ema(5),Sma(High,15));
Rule2 = (Close ) >= (300);
buy = (Rule1) && (Rule2);


This trading system when back tested gives some interesting results. I just checked if the "Rule1" of the trading system returns same returns stock same as those selected by trading system then I get BIG surprise.
The screener doesnt return **anything** for same dates and timeframe (I expect the screener to return same stocks on the previous date of entry date. Pls pls help.

2018-09-24 06:40:56


What formula did you use in the screener?
You need to use the "filter" variable in the screener.

Rajeev Upadhye
2018-09-24 10:26:56


I used the following -

var1 = cross(ema(5),sma(15,High));

AddColumn("Vol%", (100* Volume/Avg(Volume,7)));

filter = (var1);

2018-09-25 04:15:29


The screener will display all the symbols that passed the "var1" rule on a particular date.

In the simulator, on the day after that particular date (assuming you are buying on the next bar open), you may find orders or not, simply because your portfolio may be already full and doesn't allow any more position.

You said that the screener doesn't return any result. In that case, then you probably setting a wrong date for the screener or maybe you are are analyzing just few securities.

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Disparity Index
System Quality Number Indicator
HV - Historical Volatility
TSI indicator by Frank Hassler
Currency Mgmt v 0.9

How-to Lessons
How to run a screen or a watchlist from a script
Difference between the watchlist and the screener tools
How to quickly select stocks based on the last value of a databas...
How to plot arrows below/above candlesticks on a chart
How to import trading data from CSV files

Related Forum Threads
Watchlists results are not matching criteria
Save simulation/backtest results
Why Would the Ranking Analyzer Results Differ Here?
NbPositions, deviations in backtesting results
Export Aggregate Case Results for Optimization

Blog Posts
Create a HTML or PDF Report of your Trading System Backtesting Re...
Aspiring Forex Traders Should Consider Upgrading Their Trading So...
Custom Indicator: Accumulation Distribution Line
Different periodicities and chart bar types in QuantShare Trading...
Select the best ETFs combination to maximize your return and redu...

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2019
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.