Bitcoin Forum
May 02, 2024, 07:33:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: pinescript bot trading and lot size  (Read 27 times)
forestx (OP)
Jr. Member
*
Offline Offline

Activity: 168
Merit: 7


View Profile
December 08, 2023, 12:52:15 PM
 #1

This a question more about pine script and maybe more applicable to forex trading but hoping someone maybe able to help

I am working on a new strategy using atr as a stop loss. However I only want to risk 1% per trade.
I am creating the code to calculate the pips between stop loss and entry and i have the formula to calculate the position size to take to risk 1% or whatever.

I want with this to create a strategy that will trade automatically via web hooks and capital ai - is this doable like will it work can I automate lot sizes in such a way or will it create errors or is there another way to do it
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!