Click here to Login





                                                   STOCHASTIC

  0

0
Gilari Decosta
2010-11-17 02:52:37


Sir,
Stochastic always confuse me.I want to write a filter condition as follow for a screener.

FAST STOCHASTIC (8,4,3) CROSS BELOW SLOW STOCHASTIC

And where should we write code TF = 30*60; to change the default time for this code ?

Before the code or After code ?

Please help me.
Thanks
Gilari



QuantShare
2010-11-17 05:22:32

  0

c = cross(StochSlowD(8, 4, _MaSma, 3, _MaSma), StochFastD(8, 4, _MaSma));

Do you want to apply another time-frame to the above rule?



Gilari Decosta
2010-11-17 06:49:50

  0

Sir,
I am making screen for 5 mintute and I want this filter to work at 30 minute period
Please inform me where to write the code for time change.Before the above code or after it?

Thank you for quick answer
Gilari



QuantShare
2010-11-18 04:35:15

  0

Best Answer
To make the filter work with a 30 minute period (30*60 = 1800 seconds), you have two choices:

a = timeframeapply(1800 , [RULE]);

OR

TimeframeSet(1800);
a = [RULE];
TimeframeRestore();


Please note that few functions do not work (including StochSlowD) when changing time-frame. This issue was fixed and you should be able to use them after the next release.



QuantShare
2010-12-01 05:02:12

  0

The problem regarding the use of StochSlowD in a different time-frame is fixed now.


No more messages
0




Reply:

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"










QuantShare

Trading Items
Lane Stochastic Oscillator
Stochastic Cross Test V1.0
Bleu Stochastic
Relative Vigor Index
StocRSI

How-to Lessons
How to create a correlation matrix of several securities
How to use a custom drawing tool
How to create trading rules based on Put and Call volume data
How to automate the data downloading process
How to quickly add several positions to your portfolio

Related Forum Threads
DMI Stochastic Extreme
Filtering stocks
Formula for Full Stochastic?
Yahoo data
My trading algorithm won't stop buying shares

Blog Posts
Trading Optimization
Create a trading strategy using the money management tool - Part ...
How to create custom databases in your trading software
Historical Market Data
How to simulate options strategies









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
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.