NexusFi: Find Your Edge


Home Menu

 





how to place a stop at 10 ticks less than the entry price?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,296 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

how to place a stop at 10 ticks less than the entry price?

  #1 (permalink)
 eryo 
Babia, Spain
 
Experience: Intermediate
Platform: ninja trader
Broker: zen fire
Trading: gold
Posts: 48 since Apr 2010
Thanks Given: 22
Thanks Received: 8

Sorry for my English.
Hi. I am beginning to read about Easylenguaje and I am not sure how I can place a stop 10 ticks below the entry price of a buy or sell operation.
Would someone be kind enough to write me some code? Thank you.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
45 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 
numberjuani's Avatar
 numberjuani 
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102



eryo View Post
Sorry for my English.
Hi. I am beginning to read about Easylenguaje and I am not sure how I can place a stop 10 ticks below the entry price of a buy or sell operation.
Would someone be kind enough to write me some code? Thank you.


SetStopLoss(10*(MinMove/Pricescale)*BigPointValue);

puedes cambiar el 10 por el numero de ticks que quieres o convertirlo en un input

Reply With Quote
Thanked by:
  #4 (permalink)
 eryo 
Babia, Spain
 
Experience: Intermediate
Platform: ninja trader
Broker: zen fire
Trading: gold
Posts: 48 since Apr 2010
Thanks Given: 22
Thanks Received: 8

Muchas Gracias!!

Enviado desde mi T20 mediante Tapatalk

Started this thread Reply With Quote




Last Updated on December 16, 2019


© 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