Click here to Login





                                                   Preventing re-entery for certain number of bars

  0

0
crfaldu
2017-01-10 17:06:49


In Backtest/Simulation how can I prevent a buy signal from occurring until certain number of bars after the sell signal


QuantShare
2017-01-11 03:24:22

  0

This can be done using the money management script. Here is an AMM script available in the sharing server:
Ignore Orders for Recently Purshased Securities based on Return





Ignore Orders for Recently Purshased Securities based on Return (by QuantShare, 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

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
Number of bars since the beginning of the month
Number of bars up to the end of the month
Number of Consecutive Trading Bars Condition was True
Number of Trading Bars to Fill a Gap Up
Stop Loss for the N-first Trading Bars only

How-to Lessons
How to add future bars to plan for market scenarios
How to display the number of stocks per day for different RSI gro...
How to optimize the number of positions in a trading system
How to plot the number of stock tweets per day
How to get fundamental data for U.S. Stocks

Related Forum Threads
Chart for 1m bars over a custom time range
Number of bars
Counter for number of occurences..
Replacing value for the last 100 bars (end of day data)
Speed of script execution for symbols with many bars

Blog Posts
How to Download Trading Data for Certain Securities Only
How to Select the Best Market Indicator for your Trading System
How to Scan for Parallel Resistance and Support Lines
How to Backtest Your Trading System for Each Industry
Step by step on how to get free realtime/delayed data for stocks,...









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.