Click here to Login





                                                   Trading system/formula that only places entry orders in the morning?

  0

0
Jeremy
2017-01-02 15:44:42


Hi,

I'm trying to optimize a trading system and have found the the system works significantly better during certain hours of the day.

Does anyone know how one would program a formula that restricts or only allows entry orders in the AM only?



QuantShare
2017-01-03 04:57:09

  0

You can use the "hour" function.

Example:
rule1 = YOUR_RULE;
buy = hour() > 9 and hour() <= 12 and rule1;



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
Stock Trading Rules - Percentage That Passed in the Last Trading ...
Stop Loss for the N-first Trading Bars only
Trading Rules to use with the Trading System Optimizer
Trading Strategy based on the Sharpe Ratio Metric
Adaptive Trading Indicator based on the Return of Past Trades

How-to Lessons
How to get trading orders from a portfolio programmatically
How to download a trading item from the Sharing Server
How to plot a time-series that do not update the chart scale
How to add a metric in the trading system simulation report
How to optimize the stop limit of a trading system

Related Forum Threads
View only downloadable trading objects
Intraday Trading with the "Create a Trading System" tool.
How to determine if the a given day is a trading day?
How to read the number of positions in trading system
Help with the following trading system

Blog Posts
The Ultimate Guide to Create Trading Systems in QuantShare
How to get buy and sell orders for a portfolio based on a trading...
Basic trading system implemented using the money management tool
QuantShare Trading Software: New Features in the 3.4.1 Version
QuantShare Trading Software: New Features in the 3.4.3 Version









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.