Jump to content

RussWilliamL

Lifetime Members
  • Content Count

    47
  • Joined

  • Last visited

  • Days Won

    9

RussWilliamL last won the day on December 20 2023

RussWilliamL had the most liked content!

Community Reputation

21 Excellent

1 Follower

Recent Profile Visitors

1,752 profile views

Single Status Update

See all updates by RussWilliamL

  1. Could you help me set this script to “risk 1R to make 1.25R”  so either I lose 1R or profit 1.25R?  thx in advance.

     

    Short

     

    CXL ALLSYMB;

    $buyprice=Bid;

    $risk=69;

    $mystop=price;

    $pricetostop=$mystop-$buyprice;

    $target=Bid-$pricetostop-$pricetostop-$pricetostop;

    $amount=$risk/$pricetostop;

    ROUND2;

    StopPrice=$mystop;

    SShare=$amount;

    Share=$amount;

    TogSShare;

    ROUTE=LIMIT;

    Price=$buyprice;

    TIF=DAY+;

    SELL=Send;

    TriggerOrder=RT:STOP STOPTYPE:RANGEMKT LowPrice:$target HighPrice:$mystop ACT:BUY QTY:POS TIF:DAY+;

     

    Long

     

    CXL ALLSYMB;

    $buyprice=Ask;

    $risk=69;

    $mystop=price;

    $pricetostop=$buyprice-$mystop;

    $target=3*$pricetostop+Ask;

    $amount=$risk/$pricetostop;

    StopPrice=$mystop;

    StopPrice=ROUND2;

    SShare=$amount;

    Share=$amount;

    TogSShare;

    ROUTE=LIMIT;

    Price=$buyprice;

    Price=ROUND2;

    TIF=DAY+;

    BUY=Send;

    TriggerOrder=RT:STOP STOPTYPE:RANGEMKT LowPrice:$mystop HighPrice:$target ACT:SELL QTY:POS TIF:DAY+;

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.