Click here to Login





                                                   Formula Creatin

  0

0
Vivek A. Shah
2011-02-15 00:39:43


I want to make formula for Watch list which can fulfill following conditions.

Condition 1 - Stock price has CROSSED & CLOSED above EMA 10 1st time for today during last 4 trading session.



QuantShare
2011-02-15 06:21:20

  0

Best Answer
The formula is:

cross(close, ema(10)) AND ref(hhv(cross(close, ema(10)), 3), 1) == 0



Vivek A. Shah
2011-02-15 12:16:36

  0

OK. Thank you very much.


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
Black-Scholes Option Pricing Model formula
PREV - Previous value of the same formula
PIPS conversion formula in Forex trading
Formula & Symbol Switcher
Time-series Sum for the first Minutes/Hours of a Trading Day

How-to Lessons
How to create a formula
How to display two stocks on the same chart
How to plot a stock using different periods in the same chart
How to create a watchlist
How to create a screen

Related Forum Threads
BSignalLong Formula
Screen formula
Regarding Formula
Error in formula
Debugger in formula editor

Blog Posts
Working with the formula editor
Optimization of trading rules
How to Calculate and Display the Bid/Ask Spread on a Chart
Money Management: Scale-in Trading Strategy
Display several stock market charts with one click









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 © 2025 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.