BIG CALL FUNCTION PROBLEM
Forums › ProRealTime English forum › ProRealTime platform support › BIG CALL FUNCTION PROBLEM
- This topic has 32 replies, 7 voices, and was last updated 19 hours ago by
nevtek.
-
-
06/05/2025 at 7:50 PM #247974
Hi. I need help with this REALLY FAST.
I have been using CALL fucntion as normal like condbuy1, condbuy2 = CALL “indicator name”
Now when I am backtesting thoose systems with calling for the indicator the backtest is totally wrong. I have tested multiple systems. Is there something wrong with ProRealTime at the moment? Or have I missed something, I am currently in panic. Please someone help!
06/05/2025 at 7:52 PM #24797506/05/2025 at 7:57 PM #24797606/05/2025 at 8:15 PM #247978For example
DEFPARAM CUMULATEORDERS = false
defparam preloadbars = 10000timeframe (1hour)
ma1 = average[150,7](typicalprice)
cb1 = ma1>ma1[1]timeframe (default)
cb2 = average[200](close)if cb1 and cb2 then
buy 1 contract at market
set stop %loss 1
set target %profit 0.1
endifVS
DEFPARAM CUMULATEORDERS = false
defparam preloadbars = 10000timeframe (1hour)
cb1, ignore = CALL “indicator21”timeframe (default)
ignore1hourtimeframe, cb2 = CALL “indicator21”if cb1 and cb2 then
buy 1 contract at market
set stop %loss 1
set target %profit 0.1
endifand indicator
ma1 = average[150,7](typicalprice)
cb1 = ma1>ma1[1]cb2 = average[200](close)
return cb1, cb2
Gives 2 different results. Never seen this, this is a big issue. I have tested multiple accounts aswell. Only on DAX40. Anyone else?!
06/05/2025 at 8:30 PM #247979I have had the systems running for years. But with calling indicator now gives wrong results on backtest. But system seems fine on live because on live I have the same results as backtest without the calling. But I have imported the system long time ago to another account.
Can someone also look at this please
06/05/2025 at 8:59 PM #24798006/05/2025 at 10:58 PM #24798106/05/2025 at 11:14 PM #24798206/05/2025 at 11:34 PM #247984Hi Franro,
Unfortunately, because of the chaotic structure of these forum boards I can not find it back, but in the past 7 days one of the Market Place vendors announced the very same. While addressing Nicolas for this, Nicolas did not respond, BUT for this Market Vendor (there are just 2 or 3 out there) this problem was solved (estimate : 3 days ago) by a means he did not tell about.
I really hope this helps you.
Peter1 user thanked author for this post.
06/06/2025 at 8:00 AM #24799106/06/2025 at 8:02 AM #24799306/06/2025 at 8:32 AM #24799806/06/2025 at 9:44 AM #248002Hi,
When using different price constants (such as TypicalPrice and Close) in your indicator, you need to specify them in parentheses in your “Call” statement…
cb1, ignore = Call "indicator21"(TypicalPrice)
ignore, cb2 = Call "indicator21"(Close)
06/06/2025 at 10:29 AM #24800706/06/2025 at 10:33 AM #248008 -
AuthorPosts
Find exclusive trading pro-tools on