Click here to Login





                                                   moving avrages

  0

0
srishail
2010-08-16 09:02:11


gURU how to write formula for screen, the moving avarages (44),(10),(20) and(100). all these MOv Ava's Merge in one point.


QuantShare
2010-08-16 09:57:56

  0

Best Answer
Here is the formula to get a signal when the maximum difference between these four moving averages is lower than a specific threshold.
The 4 moving averages merge in one point.

max(absolute(sma(44) - sma(10)), max(absolute(sma(10) - sma(20)), absolute(sma(20) - sma(100)))) < 0.3

The "0.3" is the threshold level. This means that if the difference between sma44 and sma10 is less than "0.3" then the formula considers that the value of these moving averages is the same.



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
Elastic Volume Weighted Moving Average - eVWMA
Equity Trading Based on Position of Moving Average
Hull Moving Average Strategy - Multi Time Frame Trading System
Market Rule based on the Crossover Between Stock Close prices and...
Moving Average Crossovers In the Past Trading Days

How-to Lessons
How to create a moving average of an indicator
How to speed up watchlist and screener plug-ins when working with...
How to create a watchlist
How to dynamically update the settings of an indicator
How to plot arrows below/above candlesticks on a chart

Related Forum Threads
moving trend line
delay in moving average
Rising moving average
Displaced moving average
Displaced Moving Average?

Blog Posts
Custom Indicator: Moving average spread
Trend Following and Moving Averages
Trading System: Moving average crossover and few others buy and s...
Quantitative Analysis: Price Channels
How to predict and trade the stock market using pivot points









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.