NexusFi: Find Your Edge


Home Menu

 





Need help with a stop loss based off a moving average value


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one kevinkdog with 10 posts (7 thanks)
    2. looks_two xxjoocexx with 7 posts (5 thanks)
    3. looks_3 vmodus with 5 posts (2 thanks)
    4. looks_4 ABCTG with 1 posts (2 thanks)
      Best Posters
    1. looks_one ABCTG with 2 thanks per post
    2. looks_two kevinkdog with 0.7 thanks per post
    3. looks_3 xxjoocexx with 0.7 thanks per post
    4. looks_4 vmodus with 0.4 thanks per post
    1. trending_up 7,099 views
    2. thumb_up 16 thanks given
    3. group 3 followers
    1. forum 22 posts
    2. attach_file 1 attachments




 
Search this Thread

Need help with a stop loss based off a moving average value

  #21 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


kevinkdog View Post
I believe if you try to send both, only one will be "active" at any one time.

Got it. Is the order of the two orders important (stop before limit)? I know the limit becomes a market order when the price is hit, so my brain is telling me the best way is the way you showed.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
REcommedations for programming help
Sierra Chart
Is there a way to simulate CONTINUOUS CONTRACT?
NinjaTrader
static margin on the right side of a chart
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
29 thanks
The Trading Pit "Futures VIP" Account Journal
16 thanks
Spoo-nalysis ES e-mini futures S&P 500
16 thanks
GFIs1 1 DAX trade per day journal
15 thanks
Trading with Intuition
12 thanks
  #22 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,361


vmodus View Post
Got it. Is the order of the two orders important (stop before limit)? I know the limit becomes a market order when the price is hit, so my brain is telling me the best way is the way you showed.

I don't think order matters, at least I have never seen that to be.

Follow me on Twitter Reply With Quote
Thanked by:
  #23 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853



kevinkdog View Post
I don't think order matters, at least I have never seen that to be.

Cool, thanks!

For those who may stumble on this thread in the future, here is what the PowerLanguage (MultiCharts) looks like:

 
Code
Vars:
   LongStopPrice(0) ,   // your stop price
   LongLimitPrice(0) ;   // your limit price

Buy next bar at LongStopPrice stop LongLimitPrice limit ;

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 28, 2022


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts