Hi everyone,
I’m a beginner and have a very simple question…hope if anyone could help
If I’d like to long or short immediately when certain conditions are met instead of waiting for next candle start, what function I should use?
Thanks so much!
If c1 then
buy 1 contracts at market
endif
If c2 then
sell 1 contracts at market
endif
This is not possible in PRT at the moment. All decisions are made at candle close and positions opened at the opening of the next candle. You can set STOP and LIMIT orders so that a position is only opened at a certain price but this will still not happen until the candle following the one where the condition is met. Note: STOP and LIMIT orders must be renewed at each candle to stay on the market.
When multi-time-frame is introduced to PRT later this year then it will be possible to enter midway through say a four hour candle based on an indicator condition being met on say a five minute candle close.
Thanks Vonasi!
so disappointed to hear learn that PRT only allow buy/sell at next candle starts : (
Actually my strategy is very simple.. it’s all done on same time frame instead of multiple timeframes
if current price is lower than BB low for certain points, long immediately with stop loss at certain points
oppositely, if current price is higher than BB up for certain points, short immediately with stop loss at certain points
BCParticipant
Master
Hi Hang
Sledom meet HK friend here, may I know what market u plan to play?
Bin 你好
Nice to meet you here!! I usually play HSI, HHI with a local broker, also DJ, DAX with IG
How about you? Are you making any success with PRT?
You are going a bit off topic, I suggest that you start a new topic in the general forum.
Thank you.
BCParticipant
Master
Hi Hang
Nice to meet u here too, I mainly focus on DJ, HSI, FTSE, USD/JPY with IG.
IG charge not cheap, espacially HSI when compare with 耀才, also Prorealtime not support partial close, multi time frame, array, machine learning….but IG margin rate really low, 門檻低、PRT programing language easy to learn and most important is this forum bring PRT lover so many valuable knowledge.
I firstly start PRT auto algo form 2016 September, “luckily” got over 100% return within 5 months, and then drop into dark side with wrong money managment, walk foward re-optimize time frame and some overfit issue.
Everything return to right track after a list of amendement from FEB 2018.
As master Vonaai said what u risk represent what u reward.
Good luck.
門檻低
English only in the English speaking forum please. Only joking 🙂
If ‘master Vonaai’ is meant to be me then you flatter me beyond my worth!
Now get back on topic….