Please help to code combine line chart for Options

#1
Hi friends,

Can anyone please help me in Amibroker AFL coding as per below strategy?

Need Strike Options to mention (ex: NIFTYWK15700CE). Need atleast 4 strike options fields.
Strike 1: NIFTYWK15700CE
Strike 2: NIFTYWK15700PE
Strike 3: NIFTYWK15500CE
Strike 4: NIFTYWK15500PE

And Strike Buy or Sell selection:
Strike 1: BUY / SELL
Strike 2: BUY / SELL
Strike 3: BUY / SELL
Strike 4: BUY / SELL

Combine Target Points: Manual points values (50, etc.)
Stoploss: Manual points values (30, etc.)

In Chart, only 1 combined line chart will show (all strike premium will combined).

Please help.
Thank You.
 
#2
Hi friends,

Can anyone please help me in Amibroker AFL coding as per below strategy?

Need Strike Options to mention (ex: NIFTYWK15700CE). Need atleast 4 strike options fields.
Strike 1: NIFTYWK15700CE
Strike 2: NIFTYWK15700PE
Strike 3: NIFTYWK15500CE
Strike 4: NIFTYWK15500PE

And Strike Buy or Sell selection:
Strike 1: BUY / SELL
Strike 2: BUY / SELL
Strike 3: BUY / SELL
Strike 4: BUY / SELL

Combine Target Points: Manual points values (50, etc.)
Stoploss: Manual points values (30, etc.)

In Chart, only 1 combined line chart will show (all strike premium will combined).

Please help.
Thank You.
Please be clear about the target and stoploss. Also the single line should represent what? will send yiu code after clarofiactions
 
#3
Please be clear about the target and stoploss. Also the single line should represent what? will send yiu code after clarofiactions
Hi,

The target and stoploss willbe set manually from parameter settings of AFL. And the single line means on amibroker chart the combined strike price value will show as line chart.

Strike 1: NIFTYWK15700CE Buy
Strike 2: NIFTYWK15700PE Buy
Strike 3: NIFTYWK15500CE Buy
Strike 4: NIFTYWK15500PE Buy

then on chart a combined premium value will show as line chart (Used For Hedging).
 

Similar threads