smpParticipant
Average
I have a blank on this or a senior moment guess. I have a BOT working and seems to return excellent results. When I split the strategy up into an indicator and call it up in a strategy I keep getting parentheses issue and I am now starring to darkness.
Can any help with correcting this error please?
smpParticipant
Average
I am not sure that will work.
Usually that warning is displayed when there are input variables defines in your indicator and you did not specify them within brackests, but your pic, left panel, shows NO variables set for the indicator!
You shoud try calling it:
- without quotes x,y,z,w = CALL GBPUSD_30min_long_indi
- without quotes but with empy brackets x,y,z,w = CALL GBPUSD_30min_long_indi[]
replace x,y,z,w with your real names.
Check your indicator (stand-alone, not embedded in your strategy) that it requires no input variables.
smpaxton – Topic moved to the correct forum. Your topic is ProOrder coding related and not a platform question or issue. Please try to post in the correct forum with any future topics as per the forums rules.
Also it is preferred that you post the code using the ‘Insert PRT Code’ button rather than post screenshots of it.
smpParticipant
Average
Thanks for the reply and help but none of the suggestions work!
Append:
(close)
so that it becomes:
entry, buyperpoint, sl, tp = CALL "GBPUSD_30min_long_indi"(close)
use quotes.
smpParticipant
Average
Bingo! Thanks, it works now
many thanks