Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   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
Bleu Stochastic
Lane Stochastic Oscillator
Relative Vigor Index
VIX FIX: Volatility Measure by Larry Richard Williams
Williams AD - Accumulation Distribution Indicator

How-to Lessons
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
How to create a composite index/indicator
How to create and trade a Neural Network model

Related Forum Threads
Filtering stocks
Formula for Full Stochastic?
custom indicator
OnNewPosition event
Angle of an SMA line

Blog Posts
Beta release
Fundamental Screen based on Stock price, ROI and Market capitaliz...
Day Trading: A trading system that combines intraday and EOD data
How to create market indicators using the composite function - Pa...
Create a stock index or a trading indicator using the composite t...









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items