Hello,
i am new at prorealtime and actually i translate my code from tradesignal terminal to prorealtime. I would like to know if it is possible to give a trade a name.
For example: I got a lot of different mathematical formula in my trading system and would like to see directly which formula is responsible for a new trading signal.
I attached you an example from tradesignal. There you can see that the system has given me two short signals, but the code put out the number of the formula too (SForm5 and SForm14).
This is one of the formula for example:
If SForm5 (Timelimit, Sizefunction) and Close[2] > vOut[2] and Close[2] > Schnitt[2] and Close > vOut
and Close > Schnitt
then buy (“SForm5”) at this bar at market;
Thanks for your help.
Best regards,
Robin
Yes, you can certainly do that and plot it with GRAPH.
Example with two different conditions:
Cond = 0
IF Not OnMarket THEN
IF close CROSSES OVER average[20] then
Cond = 1
BUY at market
ELSIF Rsi[14] CROSSES OVER 50 then
Cond = 2
BUY at market
ENDIF
ENDIF
SET TARGET pPROFIT 100
SET STOP pLOSS 50
//
GRAPH Cond
Post your topic in the correct forum:
_ ProRealTime Platform Support: only platform related issues.
_ ProOrder: only strategy topics.
_ ProBuilder: only indicator topics.
_ ProScreener: only screener topics
_ General Discussion: any other topics.
_ Welcome New Members: for new forum members to introduce themselves.
Thank you 🙂
I moved it from ProRealTime platform support.
great, thanks for you help! That worked for me 🙂
Roberto, one more question.
I tried to set an alert on the Cond, but it is not possible. Do you have any idea or solution for this?
Best regards,
Robin
This is not an indicator, it’s a strategy.
Alerts can only be set on indicators.