Click here to Login

                                                   dmerk pivot ,how to program this


2019-12-02 11:56:06

If Close < Open, then X = High + (2 * Low) + Close

If Close > Open, then X = (2 * High) + Low + Close

If Close = Open, then X = High + Low + (2 * Close)

Pivot Point (P) = X/4

Support 1 (S1) = X/2 - High

Resistance 1 (R1) = X/2 - Low

2019-12-03 10:04:47


Here is how to translate this:

x = iff(close < open, high + (2*low) + close, (2*high) + low + close);
x = iff(close == open, high + low + (2*close), x);
pp = x / 4;
s1 = (x/2) - high;
r1 = (x/2) - low;

No more messages


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"


Trading Items
How far are the close prices from the support line
Camarilla Pivot Points - Supports and Resistances
Camarilla Pivot Points Study
Percentage of Stocks Trading Above their Pivot Point
Pivot Point Breakout Scanner

How-to Lessons
How to download a trading item from the Sharing Server
How to display the number of notes per stock
How to draw distances on a chart?
How to drag & drop a stock to a static watchlist
How to filter stocks in a market composite

Related Forum Threads
Learning to program QuantShare - how to begin
how do i create Random indices at to this software
How to asci import file with date in this format YYYYMMDD
Display Sector and Industry in pivot table rows and in screens
How to Backtest a WatchList

Blog Posts
How to Display the Year-to-Date Excess Return in a Pivot Table
How to predict and trade the stock market using pivot points
Create a Pivot Table that displays the Relative Strength Index - ...
Buy the best/top rated stocks or how to create powerful rank base...
How to Backtest Each Stock or Asset Individually

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2021
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.