I am new to PRT. Can anyone please help me. I would like to execute buy or sell orders based on my target price variable. Unfortunately, I cannot get the below code in PRT 10.3 via IG Index UK to work.
Ideally, I would like to achieve the following:-
Execute two orders, if the current price is ± of myPrice. So between 10533 and 10553 say.
Set one order limit to 10 points/pips
Once the first order hits the 10 point/pip limit, the second order stop loss is set to break even. The idea is to then swing trade the second order. Is this possible to achieve in ProOrder?
Is it possible to manage two orders placed manually with ProOrder to acieve the above?
@Big Hug hahaha keep the humour coming … we need it to make the day go round!! 😉
@Nate now I’ve slept, Stop Loss and TP are usually the last 2 lines of code (outside of an IF statement, unless you have different SL & TP for Longs or Shorts) … does that make it work?
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue