Takazudo

Fixed price Stop Loss [Takazudo]

Takazudo Zaktualizowano   
This strategy is a demo for fixed price stop loss.

This strategy enables you to specify fixed price stop loss. Let's say your deposit is USD. When you trade EURCAD, you need to specify the quantity for trade. Here comes three chances for trade.

  • A: SL pips: 500
  • B: SL pips: 200
  • C: SL pips: 100

In these trade, the risk is different for each. ABC risk ratio is 5:2:1. And, you cannot know how much to lose if the price hits the stop loss. This is a huge problem.

With this strategy, You can specify the fixed risk price for each trade. If you specify 100 USD for the risk, this strategy calculates how much quantity to buy or sell for each entry. In the case above, this strategy guides you how much quantity to buy or sell like below.

  • A: 2,000 qty (SL: 500pips)
  • B: 5,000 qty (SL: 200pips)
  • C: 10,000 qty (SL: 100pips)

If you make entries with those quantity and the price hits the stop loss, You will lose the money like below.

  • A: 100 USD
  • B: 100 USD
  • C: 100 USD

This is what this script does. Fixed price SL.

I tested this caliculation for OANDA's main 28 currency pairs forex listed below.

AUDUSD, EURUSD, GBPUSD, NZDUSD, USDCAD, USDCHF, USDJPY, AUDCAD, AUDCHF, AUDJPY, AUDNZD, CADCHF, CADJPY, CHFJPY, EURAUD, EURCAD, EURCHF, EURGBP, EURJPY, EURNZD, GBPAUD, GBPCAD, GBPCHF, GBPJPY, GBPNZD, NZDCAD, NZDCHF, NZDJPY

I may add more pairs later.

Note: The entry strategy in this script is not intented to win. Check the result. Be careful.
Informacje o Wersji:
typo
Informacje o Wersji:
updated PineScript version 4 to 5

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?