Created
September 1, 2018 15:32
-
-
Save marketcalls/d391fdc282d560a73126b827b07b4ddc to your computer and use it in GitHub Desktop.
Buy Today and Sell at Next Day Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_SECTION_BEGIN("Buy Today and Sell at Next Day Open"); | |
SetTradeDelays(0,0,0,0); | |
Buy = timenum() ==151559; | |
Sell = TimeNum() == 092959; | |
Buy = ExRem(Buy,Sell); | |
Sell = ExRem(Sell,Buy); | |
BuyPrice = close; | |
SellPrice = close; | |
//Set Round Lot Size of Nifty Futures as 75 | |
SetPositionSize(1*RoundLotSize,spsShares); | |
_SECTION_END(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment