Recursion ka matlab hota hai kisi function ko apne aap se call karna. Yeh programming mein aik bohat important concept hai. Forex mein bhi recursion ka use hota hai. Is article mein hum recursion har recursive call in forex ke baare mein baat kareinge.
Recursion Kya Hai?
Recursion ek aisa programming concept hai jis mein aik function apne aap ko call karta hai. Yeh concept bohat powerful hai aur is ka use kai programming languages mein hota hai. Recursion ko samajhne ke liye aapko kisi aik function ko apne aap se call karna hoga.
Upgrade function
For example, aap ek function banate hain jis mein aap n ko input lete hain aur phir usi function mein n-1 ko call karte hain. Iss tarah se function khud ko call karta rehta hai jab tak n ki value 0 na hojaye.
Recursion in Forex
Forex mein bhi recursion ka use hota hai. Yeh trading mein bohat important hai. Aik common example, jo forex traders use karte hain, hai Fibonacci retracement levels. Fibonacci sequence mein aik number apne aap ko call karta hai.
Fibonacci sequence
For example, aap Fibonacci sequence mein 5th number ko calculate karna chahte hain. Toh aap 5th number ko 4th aur 3rd number se calculate kar sakte hain. Phir 4th number ko 3rd aur 2nd number se calculate kar sakte hain aur isi tarah se chalte jana hai jab tak aap 1st aur 2nd number ko na calculate kar lein.
Decision order
Isi tarah se, forex traders bhi apne trading strategies mein recursion ka use karte hain. Woh aik algorithm ko banate hain jis mein woh khud ko call karte rehte hain. Iss tarah se woh trading decisions lete rehte hain aur apni profits ko maximize karte hain.
Conclusion
Recursion ek bohat important programming concept hai jo forex mein bhi use hota hai. Forex traders apne trading strategies mein recursion ka use karte hain aur apni profits ko maximize karte hain. Fibonacci retracement levels aik common example hain jis mein recursion ka use hota hai.
تبصرہ
Расширенный режим Обычный режим