Contracts to buy
Forums › ProRealTime English forum › ProOrder support › Contracts to buy
- This topic has 10 replies, 4 voices, and was last updated 6 years ago by
ChrisNYE.
-
-
06/19/2018 at 6:07 AM #7361806/19/2018 at 6:23 AM #73623
What is the ATR of the instrument that you are working on? If it is less than 50 then you will always return a value of less than 1 and PRT will buy 1 contract.
You ENDIF is also not correctly typed but this will not be the issue.
06/19/2018 at 6:25 AM #7362406/19/2018 at 6:39 AM #7362606/19/2018 at 6:42 AM #7362706/19/2018 at 6:54 AM #73629It does something just not what I wanted it to. It should have a max loss @$250 – this doesnt seem to be happening.
Stupid q I am sure what is this graphing you are talking about?
The code you gave me only seems to be buying 1 contract
06/19/2018 at 7:11 AM #73630Debugging in ProBacktest with GRAPH instruction
1 user thanked author for this post.
06/19/2018 at 7:30 AM #7363806/19/2018 at 8:14 AM #73646Have you tried graphing the myATR/25?
Type
‘GRAPH myATR/250′
at the bottom of your code and run the System and then you will see what the values are of, well errmm yes you’ve guessed it 🙂 … myATR/250
06/19/2018 at 9:13 AM #7365406/19/2018 at 9:30 PM #73706 -
AuthorPosts
Find exclusive trading pro-tools on