Click here to Login





                                                   formula for simple fib retracemet

  0

0
pavan gupta
2011-07-22 00:50:37


plz help m in writinG simple fib retracement formula

buy rule is

1. once the price retracement is done up to 61.8% then buy if price close above 61.8% and it is hiGhest of last 4 days , stoploss at 100% of retracment
take profit at 161.8%




Patrick Fonce
2011-07-23 08:05:35

  0

Best Answer
buy = cross(close, Fibonacci_goldenratio(100)) and hhv(close, 4) == close;

For stops you can try the following:
Set stop loss (points): Formula -> close - llv(low, 100)
Set stop profit (points): Formula -> (llv(low, 100) + ((hhv(high, 100) - llv(low, 100)) * 1.618)) - close

You must download the following indicator first:
Fibonacci retracement: Golden ratio





Fibonacci retracement: Golden ratio (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads Notes Report an item

pavan gupta
2011-07-24 21:51:26

  0

thanks patrick
buy formula is working
but Sl and TP not working properly , i think SL ad TP values are keep on changing but they should constant once buying price is decided



QuantShare
2011-07-25 06:13:23

  0

Try replacing "close" value by "Fibonacci_goldenratio(100)"


pavan gupta
2011-07-25 15:44:37

  0

buy formula is working but the condition once the retracement is done up to 61.8 % is not met
so the result is having additional unwanted signal where retracement not completed but the stock is above 61.8 % and have Highest 4 day close



QuantShare
2011-07-27 14:35:18

  0

Excuse me, but i don't understand what is your request. Can you please reformulate it?


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
Simple pattern detection rules using close and open prices
History of dividend payment for stocks in the US stock market
Simple Moving Median Indicator
Put/Call Ratio for Individual Stocks
Time-series Sum for the first Minutes/Hours of a Trading Day

How-to Lessons
How to download historical EOD data for penny stocks
How to display the number of stocks per day for different RSI gro...
How to create a formula
How to download EOD quotes for active and valid stocks only
How to get stocks for a particular index using the global script

Related Forum Threads
Guru, formula for line cross
Custom Multi-Dimensional Fitness Formula (CMDFF) for Optimizer
Formula for Full Stochastic?
formula use all over
Debugger in formula editor

Blog Posts
How to Select the Best Market Indicator for your Trading System
How to Backtest Your Trading System for Each Industry
How to Create Custom Metrics for Your Trading Positions
How to Scan for Parallel Resistance and Support Lines
Different Ticker Symbols for Each Data Source









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.