August 30, 2024

BNY MELLON ADVANTAGE FUNDS, INC.

BNY Mellon Dynamic Total Return Fund

Supplement to Current Summary Prospectus and Prospectus

Effective September 1, 2024, the following information replaces and supersedes the first paragraph and table contained in the sections "Performance" in the summary prospectus and "Fund Summary – Performance" in the prospectus:

The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Class A shares from year to year. Sales charges, if any, are not reflected in the bar chart, and, if those charges were included, returns would have been less than those shown. The table compares the average annual total returns of the fund's shares to those of the MSCI World Index and Bloomberg Global Aggregate Index (Hedged), which are broad measures of market performance. The table also compares the average annual total returns of the fund's shares to those of the FTSE Three-Month U.S. Treasury Bill Index, an unmanaged index generally considered representative of the average yield of three-month Treasury Bills, to show how the fund's performance compares to the returns of these securities. The fund's total returns also are compared to a Hybrid Index, comprised of 60% MSCI World Index and 40% FTSE World Government Bond Index, to show how the fund's performance compares to a mix of equities and bonds, unhedged and partially hedged. The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future. Performance for each share class will vary due to differences in expenses. More recent performance information may be available at www.im.bnymellon.com

    

Average Annual Total Returns (as of 12/31/23)

Class

1 Year

5 Years

10 Years

Class A returns before taxes

-2.20%

2.71%

2.04%

Class A returns after taxes on distributions

-4.06%

0.94%

0.94%

Class A returns after taxes on distributions and sale of fund shares

-1.30%

1.57%

1.24%

Class C returns before taxes

1.99%

3.15%

1.89%

Class I returns before taxes

3.95%

4.18%

2.91%

Class Y returns before taxes

3.89%

4.19%

2.92%

MSCI World Index* reflects no deductions for fees, expenses or taxes

23.79%

12.80%

8.60%

Bloomberg Global Aggregate Index (Hedged)* reflects no deductions for fees, expenses or taxes

7.15%

1.40%

2.41%

FTSE World Government Bond Index reflects no deductions for fees, expenses or taxes

5.18%

-1.39%

-0.31%

FTSE Three-Month U.S. Treasury Bill Index reflects no deductions for fees, expenses or taxes

5.26%

1.91%

1.26%

Hybrid Index (60% MSCI World Index and 40% FTSE World Government Bond Index) reflects no deductions for fees, expenses or taxes

16.10%

7.22%

5.19%

________________

* In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.


6140STK0824


false 2024-08-30 497 0000914775 N-1A 2024-03-01 BNY Mellon Advantage Funds, Inc. 0000914775 2024-08-30 2024-08-30 0000914775 ck0000914775:S000011967Member 2024-08-30 2024-08-30 0000914775 ck0000914775:C000032670Member 2023-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member 2019-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member 2014-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member oef:AfterTaxesOnDistributionsMember 2023-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member oef:AfterTaxesOnDistributionsMember 2019-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member oef:AfterTaxesOnDistributionsMember 2014-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member oef:AfterTaxesOnDistributionsAndSalesMember 2023-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member oef:AfterTaxesOnDistributionsAndSalesMember 2019-01-01 2023-12-31 0000914775 ck0000914775:C000032670Member oef:AfterTaxesOnDistributionsAndSalesMember 2014-01-01 2023-12-31 0000914775 ck0000914775:C000032716Member 2023-01-01 2023-12-31 0000914775 ck0000914775:C000032716Member 2019-01-01 2023-12-31 0000914775 ck0000914775:C000032716Member 2014-01-01 2023-12-31 0000914775 ck0000914775:C000032717Member 2023-01-01 2023-12-31 0000914775 ck0000914775:C000032717Member 2019-01-01 2023-12-31 0000914775 ck0000914775:C000032717Member 2014-01-01 2023-12-31 0000914775 ck0000914775:C000130429Member 2023-01-01 2023-12-31 0000914775 ck0000914775:C000130429Member 2019-01-01 2023-12-31 0000914775 ck0000914775:C000130429Member 2014-01-01 2023-12-31 0000914775 ck0000914775:index_MSCI_World_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2023-01-01 2023-12-31 0000914775 ck0000914775:index_MSCI_World_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2019-01-01 2023-12-31 0000914775 ck0000914775:index_MSCI_World_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2014-01-01 2023-12-31 0000914775 ck0000914775:index_Bloomberg_Global_Aggregate_Index_Hedged_reflects_no_deductions_for_fees_expenses_or_taxesMember 2023-01-01 2023-12-31 0000914775 ck0000914775:index_Bloomberg_Global_Aggregate_Index_Hedged_reflects_no_deductions_for_fees_expenses_or_taxesMember 2019-01-01 2023-12-31 0000914775 ck0000914775:index_Bloomberg_Global_Aggregate_Index_Hedged_reflects_no_deductions_for_fees_expenses_or_taxesMember 2014-01-01 2023-12-31 0000914775 ck0000914775:index_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2023-01-01 2023-12-31 0000914775 ck0000914775:index_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2019-01-01 2023-12-31 0000914775 ck0000914775:index_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2014-01-01 2023-12-31 0000914775 ck0000914775:index_FTSE_ThreeMonth_US_Treasury_Bill_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2023-01-01 2023-12-31 0000914775 ck0000914775:index_FTSE_ThreeMonth_US_Treasury_Bill_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2019-01-01 2023-12-31 0000914775 ck0000914775:index_FTSE_ThreeMonth_US_Treasury_Bill_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2014-01-01 2023-12-31 0000914775 ck0000914775:index_Hybrid_Index_60_MSCI_World_Index_and_40_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2023-01-01 2023-12-31 0000914775 ck0000914775:index_Hybrid_Index_60_MSCI_World_Index_and_40_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2019-01-01 2023-12-31 0000914775 ck0000914775:index_Hybrid_Index_60_MSCI_World_Index_and_40_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember 2014-01-01 2023-12-31 xbrli:pure

v3.24.2.u1
Form N-1A Cover
Aug. 30, 2024
Prospectus [Line Items]  
Document Type 497
Amendment Flag false
Registrant Name BNY Mellon Advantage Funds, Inc.
Entity Central Index Key 0000914775
Entity Investment Company Type N-1A
Document Period End Date Aug. 30, 2024
Prospectus Date Mar. 01, 2024
Supplement to Prospectus [Text Block]

August 30, 2024

BNY MELLON ADVANTAGE FUNDS, INC.

BNY Mellon Dynamic Total Return Fund

Supplement to Current Summary Prospectus and Prospectus

v3.24.2.u1
Investment Objectives and Goals
Aug. 30, 2024
BNY Mellon Dynamic Total Return Fund  
Prospectus [Line Items]  
Risk/Return [Heading] BNY Mellon Dynamic Total Return Fund

v3.24.2.u1
Performance Management - BNY Mellon Dynamic Total Return Fund
Aug. 30, 2024
Prospectus [Line Items]  
Performance Narrative [Text Block]

Effective September 1, 2024, the following information replaces and supersedes the first paragraph and table contained in the sections "Performance" in the summary prospectus and "Fund Summary – Performance" in the prospectus:

The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Class A shares from year to year. Sales charges, if any, are not reflected in the bar chart, and, if those charges were included, returns would have been less than those shown. The table compares the average annual total returns of the fund's shares to those of the MSCI World Index and Bloomberg Global Aggregate Index (Hedged), which are broad measures of market performance. The table also compares the average annual total returns of the fund's shares to those of the FTSE Three-Month U.S. Treasury Bill Index, an unmanaged index generally considered representative of the average yield of three-month Treasury Bills, to show how the fund's performance compares to the returns of these securities. The fund's total returns also are compared to a Hybrid Index, comprised of 60% MSCI World Index and 40% FTSE World Government Bond Index, to show how the fund's performance compares to a mix of equities and bonds, unhedged and partially hedged. The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future. Performance for each share class will vary due to differences in expenses. More recent performance information may be available at www.im.bnymellon.com

Performance Past Does Not Indicate Future [Text] The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future.
Performance Information Illustrates Variability of Returns [Text] The following bar chart and table provide some indication of the risks of investing in the fund.
Performance Additional Market Index [Text] The fund's total returns also are compared to a Hybrid Index, comprised of 60% MSCI World Index and 40% FTSE World Government Bond Index, to show how the fund's performance compares to a mix of equities and bonds, unhedged and partially hedged.
Bar Chart Does Not Reflect Sales Loads [Text] Sales charges, if any, are not reflected in the bar chart, and, if those charges were included, returns would have been less than those shown.
Performance Table Market Index Changed In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.
Performance [Table]
    

Average Annual Total Returns (as of 12/31/23)

Class

1 Year

5 Years

10 Years

Class A returns before taxes

-2.20%

2.71%

2.04%

Class A returns after taxes on distributions

-4.06%

0.94%

0.94%

Class A returns after taxes on distributions and sale of fund shares

-1.30%

1.57%

1.24%

Class C returns before taxes

1.99%

3.15%

1.89%

Class I returns before taxes

3.95%

4.18%

2.91%

Class Y returns before taxes

3.89%

4.19%

2.92%

MSCI World Index* reflects no deductions for fees, expenses or taxes

23.79%

12.80%

8.60%

Bloomberg Global Aggregate Index (Hedged)* reflects no deductions for fees, expenses or taxes

7.15%

1.40%

2.41%

FTSE World Government Bond Index reflects no deductions for fees, expenses or taxes

5.18%

-1.39%

-0.31%

FTSE Three-Month U.S. Treasury Bill Index reflects no deductions for fees, expenses or taxes

5.26%

1.91%

1.26%

Hybrid Index (60% MSCI World Index and 40% FTSE World Government Bond Index) reflects no deductions for fees, expenses or taxes

16.10%

7.22%

5.19%

* In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.

Average Annual Return, Caption [Optional Text] Average Annual Total Returns (as of 12/31/23)
Index No Deduction for Fees, Expenses, or Taxes [Text] reflects no deductions for fees, expenses or taxes
Performance Availability Website Address [Text] www.im.bnymellon.com

v3.24.2.u1
Average Annual Total Returns
12 Months Ended 60 Months Ended 120 Months Ended
Dec. 31, 2023
Dec. 31, 2023
Dec. 31, 2023
Class A      
Prospectus [Line Items]      
Average Annual Return, Percent (2.20%) 2.71% 2.04%
Class A | After Taxes on Distributions      
Prospectus [Line Items]      
Average Annual Return, Percent (4.06%) 0.94% 0.94%
Class A | After Taxes on Distributions and Sales      
Prospectus [Line Items]      
Average Annual Return, Percent (1.30%) 1.57% 1.24%
Class C      
Prospectus [Line Items]      
Average Annual Return, Percent 1.99% 3.15% 1.89%
Class I      
Prospectus [Line Items]      
Average Annual Return, Percent 3.95% 4.18% 2.91%
Class Y      
Prospectus [Line Items]      
Average Annual Return, Percent 3.89% 4.19% 2.92%
MSCI World Index* reflects no deductions for fees, expenses or taxes      
Prospectus [Line Items]      
Average Annual Return, Percent [1] 23.79% 12.80% 8.60%
Bloomberg Global Aggregate Index (Hedged)* reflects no deductions for fees, expenses or taxes      
Prospectus [Line Items]      
Average Annual Return, Percent [1] 7.15% 1.40% 2.41%
FTSE World Government Bond Index reflects no deductions for fees, expenses or taxes      
Prospectus [Line Items]      
Average Annual Return, Percent 5.18% (1.39%) (0.31%)
FTSE Three-Month U.S. Treasury Bill Index reflects no deductions for fees, expenses or taxes      
Prospectus [Line Items]      
Average Annual Return, Percent 5.26% 1.91% 1.26%
Hybrid Index (60% MSCI World Index and 40% FTSE World Government Bond Index) reflects no deductions for fees, expenses or taxes      
Prospectus [Line Items]      
Average Annual Return, Percent 16.10% 7.22% 5.19%
[1] In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.

v3.24.2.u1
Aug. 30, 2024
BNY Mellon Dynamic Total Return Fund

Effective September 1, 2024, the following information replaces and supersedes the first paragraph and table contained in the sections "Performance" in the summary prospectus and "Fund Summary – Performance" in the prospectus:

The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Class A shares from year to year. Sales charges, if any, are not reflected in the bar chart, and, if those charges were included, returns would have been less than those shown. The table compares the average annual total returns of the fund's shares to those of the MSCI World Index and Bloomberg Global Aggregate Index (Hedged), which are broad measures of market performance. The table also compares the average annual total returns of the fund's shares to those of the FTSE Three-Month U.S. Treasury Bill Index, an unmanaged index generally considered representative of the average yield of three-month Treasury Bills, to show how the fund's performance compares to the returns of these securities. The fund's total returns also are compared to a Hybrid Index, comprised of 60% MSCI World Index and 40% FTSE World Government Bond Index, to show how the fund's performance compares to a mix of equities and bonds, unhedged and partially hedged. The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future. Performance for each share class will vary due to differences in expenses. More recent performance information may be available at www.im.bnymellon.com

Average Annual Total Returns (as of 12/31/23)
    

Average Annual Total Returns (as of 12/31/23)

Class

1 Year

5 Years

10 Years

Class A returns before taxes

-2.20%

2.71%

2.04%

Class A returns after taxes on distributions

-4.06%

0.94%

0.94%

Class A returns after taxes on distributions and sale of fund shares

-1.30%

1.57%

1.24%

Class C returns before taxes

1.99%

3.15%

1.89%

Class I returns before taxes

3.95%

4.18%

2.91%

Class Y returns before taxes

3.89%

4.19%

2.92%

MSCI World Index* reflects no deductions for fees, expenses or taxes

23.79%

12.80%

8.60%

Bloomberg Global Aggregate Index (Hedged)* reflects no deductions for fees, expenses or taxes

7.15%

1.40%

2.41%

FTSE World Government Bond Index reflects no deductions for fees, expenses or taxes

5.18%

-1.39%

-0.31%

FTSE Three-Month U.S. Treasury Bill Index reflects no deductions for fees, expenses or taxes

5.26%

1.91%

1.26%

Hybrid Index (60% MSCI World Index and 40% FTSE World Government Bond Index) reflects no deductions for fees, expenses or taxes

16.10%

7.22%

5.19%

* In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.

v3.24.2.u1
Label Element Value
BNY Mellon Dynamic Total Return Fund  
Prospectus [Line Items] oef_ProspectusLineItems  
Risk/Return [Heading] oef_RiskReturnHeading BNY Mellon Dynamic Total Return Fund
Performance Narrative [Text Block] oef_PerformanceNarrativeTextBlock

Effective September 1, 2024, the following information replaces and supersedes the first paragraph and table contained in the sections "Performance" in the summary prospectus and "Fund Summary – Performance" in the prospectus:

The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Class A shares from year to year. Sales charges, if any, are not reflected in the bar chart, and, if those charges were included, returns would have been less than those shown. The table compares the average annual total returns of the fund's shares to those of the MSCI World Index and Bloomberg Global Aggregate Index (Hedged), which are broad measures of market performance. The table also compares the average annual total returns of the fund's shares to those of the FTSE Three-Month U.S. Treasury Bill Index, an unmanaged index generally considered representative of the average yield of three-month Treasury Bills, to show how the fund's performance compares to the returns of these securities. The fund's total returns also are compared to a Hybrid Index, comprised of 60% MSCI World Index and 40% FTSE World Government Bond Index, to show how the fund's performance compares to a mix of equities and bonds, unhedged and partially hedged. The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future. Performance for each share class will vary due to differences in expenses. More recent performance information may be available at www.im.bnymellon.com

Performance Information Illustrates Variability of Returns [Text] oef_PerformanceInformationIllustratesVariabilityOfReturns The following bar chart and table provide some indication of the risks of investing in the fund.
Performance Additional Market Index [Text] oef_PerformanceAdditionalMarketIndex The fund's total returns also are compared to a Hybrid Index, comprised of 60% MSCI World Index and 40% FTSE World Government Bond Index, to show how the fund's performance compares to a mix of equities and bonds, unhedged and partially hedged.
Performance Availability Website Address [Text] oef_PerformanceAvailabilityWebSiteAddress www.im.bnymellon.com
Performance Past Does Not Indicate Future [Text] oef_PerformancePastDoesNotIndicateFuture The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future.
Bar Chart Does Not Reflect Sales Loads [Text] oef_BarChartDoesNotReflectSalesLoads Sales charges, if any, are not reflected in the bar chart, and, if those charges were included, returns would have been less than those shown.
Performance Table Market Index Changed oef_PerformanceTableMarketIndexChanged In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.
Index No Deduction for Fees, Expenses, or Taxes [Text] oef_IndexNoDeductionForFeesExpensesTaxes reflects no deductions for fees, expenses or taxes
Average Annual Return, Caption [Optional Text] oef_AverageAnnualReturnCaption Average Annual Total Returns (as of 12/31/23)
Bloomberg Global Aggregate Index (Hedged)* reflects no deductions for fees, expenses or taxes  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 7.15% [1]
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.40% [1]
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.41% [1]
FTSE Three-Month U.S. Treasury Bill Index reflects no deductions for fees, expenses or taxes  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 5.26%
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.91%
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.26%
FTSE World Government Bond Index reflects no deductions for fees, expenses or taxes  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 5.18%
Average Annual Return, Percent oef_AvgAnnlRtrPct (1.39%)
Average Annual Return, Percent oef_AvgAnnlRtrPct (0.31%)
Hybrid Index (60% MSCI World Index and 40% FTSE World Government Bond Index) reflects no deductions for fees, expenses or taxes  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 16.10%
Average Annual Return, Percent oef_AvgAnnlRtrPct 7.22%
Average Annual Return, Percent oef_AvgAnnlRtrPct 5.19%
MSCI World Index* reflects no deductions for fees, expenses or taxes  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 23.79% [1]
Average Annual Return, Percent oef_AvgAnnlRtrPct 12.80% [1]
Average Annual Return, Percent oef_AvgAnnlRtrPct 8.60% [1]
Class A  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct (2.20%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.71%
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.04%
Class A | After Taxes on Distributions  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct (4.06%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.94%
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.94%
Class A | After Taxes on Distributions and Sales  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct (1.30%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.57%
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.24%
Class C  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.99%
Average Annual Return, Percent oef_AvgAnnlRtrPct 3.15%
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.89%
Class I  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 3.95%
Average Annual Return, Percent oef_AvgAnnlRtrPct 4.18%
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.91%
Class Y  
Prospectus [Line Items] oef_ProspectusLineItems  
Average Annual Return, Percent oef_AvgAnnlRtrPct 3.89%
Average Annual Return, Percent oef_AvgAnnlRtrPct 4.19%
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.92%
[1] In accordance with regulatory changes requiring the fund's primary benchmark to represent the overall applicable market, the fund's primary benchmark changed effective September 1, 2024.

{
 "version": "2.2",
 "instance": {
  "ck0000914775-20240830.htm": {
   "nsprefix": "ck0000914775",
   "nsuri": "http://www.dreyfus.com/20240830",
   "dts": {
    "inline": {
     "local": [
      "ck0000914775-20240830.htm"
     ]
    },
    "schema": {
     "local": [
      "ck0000914775-20240830.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-roles-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-types-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-types-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024_def.xsd",
      "https://xbrl.sec.gov/dei/2024/dei-2024.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-2024.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-2024_cal.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-2024_lab.xsd",
      "https://xbrl.sec.gov/oef/2024/oef-rr-2024.xsd",
      "https://xbrl.sec.gov/stpr/2024/stpr-2024.xsd"
     ]
    },
    "definitionLink": {
     "local": [
      "ck0000914775-20240830_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "ck0000914775-20240830_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "ck0000914775-20240830_pre.xml"
     ]
    }
   },
   "keyStandard": 20,
   "keyCustom": 0,
   "axisStandard": 3,
   "axisCustom": 0,
   "memberStandard": 2,
   "memberCustom": 10,
   "hidden": {
    "total": 7,
    "http://xbrl.sec.gov/dei/2024": 6,
    "http://xbrl.sec.gov/oef/2024": 1
   },
   "contextCount": 35,
   "entityCount": 1,
   "segmentCount": 12,
   "elementCount": 182,
   "unitCount": 1,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/oef/2024": 46,
    "http://xbrl.sec.gov/dei/2024": 6
   },
   "report": {
    "R1": {
     "role": "http://xbrl.sec.gov/rr/role/N1aCover",
     "longName": "010000 - Disclosure - Form N-1A Cover",
     "shortName": "Form N-1A Cover",
     "isDefault": "true",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "1",
     "firstAnchor": {
      "contextRef": "c0",
      "name": "oef:SupplementToProspectusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c0",
      "name": "oef:SupplementToProspectusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://xbrl.sec.gov/rr/role/RiskReturn",
     "longName": "010001 - Disclosure - Investment Objectives and Goals",
     "shortName": "Investment Objectives and Goals",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c1",
      "name": "oef:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "oef:SupplementToProspectusTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R3": {
     "role": "http://xbrl.sec.gov/rr/role/PerformanceManagement",
     "longName": "010005 - Disclosure - Performance Management",
     "shortName": "Performance Management",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "3",
     "firstAnchor": {
      "contextRef": "c1",
      "name": "oef:PerformanceNarrativeTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R4": {
     "role": "http://xbrl.sec.gov/rr/role/PerformanceTableData",
     "longName": "020060 - Disclosure - Average Annual Total Returns",
     "shortName": "Average Annual Total Returns",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "4",
     "firstAnchor": {
      "contextRef": "c2",
      "name": "oef:AvgAnnlRtrPct",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "oef:PerformanceTableTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R5": {
     "role": "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
     "longName": "020100 - Document - Risk/Return Summary {Unlabeled} - BNY Mellon Dynamic Total Return Fund",
     "shortName": "Risk/Return Summary- BNY Mellon Dynamic Total Return Fund",
     "isDefault": "false",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "5",
     "firstAnchor": {
      "contextRef": "c1",
      "name": "oef:PerformanceNarrativeTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R6": {
     "role": "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
     "longName": "020101 - Disclosure - Risk/Return Detail Data {Elements} - BNY Mellon Dynamic Total Return Fund",
     "shortName": "Risk/Return Detail Data- BNY Mellon Dynamic Total Return Fund",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Risk/Return",
     "order": "6",
     "firstAnchor": {
      "contextRef": "c1",
      "name": "oef:RiskReturnHeading",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "oef:SupplementToProspectusTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ck0000914775-20240830.htm",
      "first": true
     },
     "uniqueAnchor": null
    }
   },
   "tag": {
    "oef_AcquiredFundFeesAndExpensesBasedOnEstimates": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AcquiredFundFeesAndExpensesBasedOnEstimates",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Based on Estimates [Text]"
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "oef_AcquiredFundFeesAndExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AcquiredFundFeesAndExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses"
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "oef_AfterTaxesOnDistributionsAndSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions and Sales"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_AfterTaxesOnDistributionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AfterTaxesOnDistributionsMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "After Taxes on Distributions"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_AllRisksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AllRisksMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks [Member]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Description",
        "documentation": "Description of changes contained within amended document."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "oef_AnnlRtrPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AnnlRtrPct",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return [Percent]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_AnnualFundOperatingExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AnnualFundOperatingExpensesTableTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Fund Operating Expenses [Table]"
       }
      }
     },
     "auth_ref": [
      "r35"
     ]
    },
    "oef_AnnualReturnCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AnnualReturnCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return Caption [Text]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "oef_AnnualReturnColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AnnualReturnColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return, Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "oef_AnnualReturnInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AnnualReturnInceptionDate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Return, Inception Date"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_AverageAnnualReturnAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return:"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_AverageAnnualReturnCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_AverageAnnualReturnColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Column Name [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_AverageAnnualReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AverageAnnualReturnLabel",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_AvgAnnlRtrPct": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "AvgAnnlRtrPct",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Annual Return, Percent"
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "oef_BarChartAndPerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartAndPerformanceTableHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart and Performance Table [Heading]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "oef_BarChartClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartClosingTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Closing [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartDoesNotReflectSalesLoads": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartDoesNotReflectSalesLoads",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Does Not Reflect Sales Loads [Text]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartFootnotesTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Footnotes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "oef_BarChartHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Heading]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartHighestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartHighestQuarterlyReturn",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartHighestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartHighestQuarterlyReturnDate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Date"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartLowestQuarterlyReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartLowestQuarterlyReturn",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartLowestQuarterlyReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartLowestQuarterlyReturnDate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Date"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartReasonSelectedClassDifferentFromImmediatelyPrecedingPeriod": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartReasonSelectedClassDifferentFromImmediatelyPrecedingPeriod",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Reason Selected Class Different from Immediately Preceding Period [Text]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "oef_BarChartReturnsForClassNotOfferedInProspectus": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartReturnsForClassNotOfferedInProspectus",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Returns for Class Not Offered in Prospectus [Text]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "oef_BarChartTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartTableAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart Table:"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartTableTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart [Table]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartYearToDateReturn": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartYearToDateReturn",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_BarChartYearToDateReturnDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "BarChartYearToDateReturnDate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bar Chart, Year to Date Return, Date"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "ck0000914775_C000032670Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "C000032670Member",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class A",
        "label": "C000032670 Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_C000032716Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "C000032716Member",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class C",
        "label": "C000032716 Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_C000032717Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "C000032717Member",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class I",
        "label": "C000032717 Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_C000130429Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "C000130429Member",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class Y",
        "label": "C000130429 Member"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ClassAxis",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class [Axis]"
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "oef_Component1OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "Component1OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Component1 Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "oef_Component2OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "Component2OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Component2 Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "oef_Component3OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "Component3OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_OtherExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Component3 Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "oef_DistributionAndService12b1FeesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "DistributionAndService12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution and Service (12b-1) Fees"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "oef_DistributionOrSimilarNon12b1FeesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "DistributionOrSimilarNon12b1FeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution or Similar (Non 12b-1) Fees"
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "dei_DocumentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentDomain",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus",
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationDocumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentInformationDocumentAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentType",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Investment Company Type",
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product)."
       }
      }
     },
     "auth_ref": [
      "r60"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "oef_ExchangeFee": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExchangeFee",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Fee"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ExchangeFeeOverRedemption": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExchangeFeeOverRedemption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Fee (as a percentage of Amount Redeemed)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ExpenseBreakpointDiscounts": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseBreakpointDiscounts",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Breakpoint Discounts [Text]"
       }
      }
     },
     "auth_ref": [
      "r26"
     ]
    },
    "oef_ExpenseBreakpointMinimumInvestmentRequiredAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseBreakpointMinimumInvestmentRequiredAmount",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Breakpoint, Minimum Investment Required [Amount]"
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "oef_ExpenseExampleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example:"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleByYearCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleByYearCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example by, Year, Caption [Text]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleByYearColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleByYearColumnName",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, By Year, Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleByYearHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleByYearHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example by Year [Heading]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleClosingTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Closing [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleFootnotesTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Footnotes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Heading]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleNoRedemptionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption:"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionByYearCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionByYearCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, By Year, Caption [Text]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionByYearColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionByYearColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, By Year, Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionTableTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption [Table]"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear01": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionYear01",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 1 Year"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear03": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionYear03",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 3 Years"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear05": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionYear05",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 5 Years"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleNoRedemptionYear10": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleNoRedemptionYear10",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, No Redemption, 10 Years"
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "oef_ExpenseExampleWithRedemptionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleWithRedemptionTableTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, With Redemption [Table]"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleYear01": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleYear01",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 1 Year"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleYear03": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleYear03",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 3 Years"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleYear05": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleYear05",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 5 Years"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseExampleYear10": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseExampleYear10",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ExpenseExample"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, with Redemption, 10 Years"
       }
      }
     },
     "auth_ref": [
      "r31"
     ]
    },
    "oef_ExpenseFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseFootnotesTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Footnotes [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "oef_ExpenseHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Heading [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "oef_ExpenseNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpenseNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "oef_ExpensesDeferredChargesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesDeferredChargesTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Deferred Charges [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "oef_ExpensesExplanationOfNonrecurringAccountFee": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesExplanationOfNonrecurringAccountFee",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Explanation of Nonrecurring Account Fee [Text]"
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "oef_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesNotCorrelatedToRatioDueToAcquiredFundFees",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text]"
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "oef_ExpensesOtherExpensesHadExtraordinaryExpensesBeenIncluded": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesOtherExpensesHadExtraordinaryExpensesBeenIncluded",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Other Expenses Had Extraordinary Expenses Been Included [Text]"
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "oef_ExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses (as a percentage of Assets)",
        "totalLabel": "Total Expenses"
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "oef_ExpensesRangeOfExchangeFeesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesRangeOfExchangeFeesTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Range of Exchange Fees [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "oef_ExpensesRepresentBothMasterAndFeeder": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesRepresentBothMasterAndFeeder",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Represent Both Master and Feeder [Text]"
       }
      }
     },
     "auth_ref": [
      "r6",
      "r13"
     ]
    },
    "oef_ExpensesRestatedToReflectCurrent": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ExpensesRestatedToReflectCurrent",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses Restated to Reflect Current [Text]"
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "oef_FeeWaiverOrReimbursementOverAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "FeeWaiverOrReimbursementOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_NetExpensesOverAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Waiver or Reimbursement",
        "negatedLabel": "Fee Waiver or Reimbursement"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "FeeWaiverOrReimbursementOverAssetsDateOfTermination",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Waiver or Reimbursement over Assets, Date of Termination"
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "oef_FormN1aAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "FormN1aAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Form N-1A:"
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "oef_HighestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "HighestQuarterlyReturnLabel",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Quarterly Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_IndexNoDeductionForFeesExpensesTaxes": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "IndexNoDeductionForFeesExpensesTaxes",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Index No Deduction for Fees, Expenses, or Taxes [Text]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "oef_LowestQuarterlyReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "LowestQuarterlyReturnLabel",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Quarterly Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "oef_ManagementFeesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ManagementFeesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees (as a percentage of Assets)"
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "oef_MarketIndexPerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MarketIndexPerformanceTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Market Index Performance [Table]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_MaximumAccountFee": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumAccountFee",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Account Fee"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumAccountFeeOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumAccountFeeOverAssets",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Account Fee (as a percentage of Assets)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumCumulativeSalesChargeOverOfferingPrice": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumCumulativeSalesChargeOverOfferingPrice",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Cumulative Sales Charge (as a percentage of Offering Price)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumCumulativeSalesChargeOverOther": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumCumulativeSalesChargeOverOther",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Cumulative Sales Charge (as a percentage)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumDeferredSalesChargeOverOfferingPrice": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumDeferredSalesChargeOverOfferingPrice",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Deferred Sales Charge (as a percentage of Offering Price)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumDeferredSalesChargeOverOther": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumDeferredSalesChargeOverOther",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Deferred Sales Charge (as a percentage)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumSalesChargeImposedOnPurchasesOverOfferingPrice",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Sales Charge on Reinvested Dividends and Distributions (as a percentage)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_MoneyMarketSevenDayTaxEquivalentYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MoneyMarketSevenDayTaxEquivalentYield",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Tax Equivalent Yield"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_MoneyMarketSevenDayYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MoneyMarketSevenDayYield",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_MoneyMarketSevenDayYieldCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MoneyMarketSevenDayYieldCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield, Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_MoneyMarketSevenDayYieldColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MoneyMarketSevenDayYieldColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "oef_MoneyMarketSevenDayYieldPhone": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "MoneyMarketSevenDayYieldPhone",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Seven Day Yield Phone"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_NetExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "NetExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expenses (as a percentage of Assets)",
        "totalLabel": "Net Expenses"
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "oef_ObjectiveHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ObjectiveHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective [Heading]"
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "oef_ObjectivePrimaryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ObjectivePrimaryTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective, Primary [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "oef_ObjectiveSecondaryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ObjectiveSecondaryTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Objective, Secondary [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "oef_OperatingExpensesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OperatingExpensesCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "oef_OperatingExpensesColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OperatingExpensesColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "oef_OtherExpensesNewFundBasedOnEstimates": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OtherExpensesNewFundBasedOnEstimates",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, New Fund, Based on Estimates [Text]"
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "oef_OtherExpensesOverAssets": {
     "xbrltype": "nonNegativePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "OtherExpensesOverAssets",
     "calculation": {
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData": {
       "parentTag": "oef_ExpensesOverAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses (as a percentage of Assets):",
        "totalLabel": "Other Expenses"
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "oef_PerfInceptionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerfInceptionDate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Inception Date"
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "oef_PerformanceAdditionalMarketIndex": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceAdditionalMarketIndex",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Additional Market Index [Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_PerformanceAvailabilityPhone": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceAvailabilityPhone",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Availability Phone [Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_PerformanceAvailabilityWebSiteAddress": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceAvailabilityWebSiteAddress",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Availability Website Address [Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_PerformanceInformationIllustratesVariabilityOfReturns": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceInformationIllustratesVariabilityOfReturns",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Information Illustrates Variability of Returns [Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_PerformanceMeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceMeasureAxis",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Measure [Axis]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_PerformanceMeasureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceMeasureDomain",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Before Taxes"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_PerformanceNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_PerformanceOneYearOrLess": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceOneYearOrLess",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance One Year or Less [Text]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "oef_PerformancePastDoesNotIndicateFuture": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformancePastDoesNotIndicateFuture",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "auth_ref": [
      "r8",
      "r44"
     ]
    },
    "oef_PerformanceTableClosingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableClosingTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Closing [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_PerformanceTableDoesReflectSalesLoads": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableDoesReflectSalesLoads",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Does Reflect Sales Loads"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "oef_PerformanceTableExplanationAfterTaxHigher": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableExplanationAfterTaxHigher",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Explanation after Tax Higher"
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "oef_PerformanceTableFootnotesReasonPerformanceInformationForClassDifferentFromImmediatelyPrecedingPeriod": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableFootnotesReasonPerformanceInformationForClassDifferentFromImmediatelyPrecedingPeriod",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Footnotes, Reason Performance Information for Class Different from Immediately Preceding Period [Text]"
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "oef_PerformanceTableFootnotesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableFootnotesTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Footnotes"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_PerformanceTableHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Heading"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_PerformanceTableMarketIndexChanged": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableMarketIndexChanged",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Market Index Changed"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "oef_PerformanceTableNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Narrative"
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "oef_PerformanceTableNotRelevantToTaxDeferred": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableNotRelevantToTaxDeferred",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Not Relevant to Tax Deferred"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "oef_PerformanceTableOneClassOfAfterTaxShown": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableOneClassOfAfterTaxShown",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table One Class of after Tax Shown [Text]"
       }
      }
     },
     "auth_ref": [
      "r49",
      "r55"
     ]
    },
    "oef_PerformanceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance [Table]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "oef_PerformanceTableUsesHighestFederalRate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PerformanceTableUsesHighestFederalRate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Table Uses Highest Federal Rate"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "oef_PortfolioTurnoverHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PortfolioTurnoverHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Heading]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_PortfolioTurnoverRate": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PortfolioTurnoverRate",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover, Rate"
       }
      }
     },
     "auth_ref": [
      "r10",
      "r33"
     ]
    },
    "oef_PortfolioTurnoverTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "PortfolioTurnoverTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Turnover [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "oef_ProspectusDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ProspectusDate",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus Date"
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "oef_ProspectusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ProspectusLineItems",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "oef_ProspectusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ProspectusTable",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/N1aCover",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Table]"
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "oef_RedemptionFee": {
     "xbrltype": "nonPositiveMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RedemptionFee",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Redemption Fee",
        "negatedLabel": "Redemption Fee"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_RedemptionFeeOverRedemption": {
     "xbrltype": "nonPositivePure4ItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RedemptionFeeOverRedemption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Redemption Fee (as a percentage of Amount Redeemed)",
        "negatedLabel": "Redemption Fee (as a percentage of Amount Redeemed)"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_RiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskAxis",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_RiskLoseMoneyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskLoseMoneyMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Lose Money [Member]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "oef_RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskMoneyMarketFundMayImposeFeesOrSuspendSalesMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Impose Fees or Suspend Sales [Member]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_RiskMoneyMarketFundMayNotPreserveDollarMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskMoneyMarketFundMayNotPreserveDollarMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund May Not Preserve Dollar [Member]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_RiskMoneyMarketFundPriceFluctuatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskMoneyMarketFundPriceFluctuatesMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund Price Fluctuates [Member]"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "oef_RiskMoneyMarketFundSponsorMayNotProvideSupportMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskMoneyMarketFundSponsorMayNotProvideSupportMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Money Market Fund Sponsor May Not Provide Support [Member]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_RiskNondiversifiedStatusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskNondiversifiedStatusMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Nondiversified Status [Member]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "oef_RiskNotInsuredDepositoryInstitutionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskNotInsuredDepositoryInstitutionMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Not Insured Depository Institution [Member]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "oef_RiskNotInsuredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskNotInsuredMember",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Not Insured [Member]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "oef_RiskReturnHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskReturnHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/RiskReturn"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return [Heading]"
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "oef_RiskTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RiskTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "oef_RisksAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "RisksAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "ck0000914775_S000011967Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "S000011967Member",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses",
      "http://xbrl.sec.gov/rr/role/InvestmentRisks",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement",
      "http://xbrl.sec.gov/rr/role/RiskReturn",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BNY Mellon Dynamic Total Return Fund",
        "label": "S000011967 Member"
       }
      }
     },
     "auth_ref": []
    },
    "oef_ShareClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareClassDomain",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/BarChartData",
      "http://xbrl.sec.gov/rr/role/ExpenseExample",
      "http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption",
      "http://xbrl.sec.gov/rr/role/OperatingExpensesData",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Classes"
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "oef_ShareholderFeeOther": {
     "xbrltype": "nonNegativeMonetaryItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderFeeOther",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fee, Other"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ShareholderFeesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderFeesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees:"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ShareholderFeesCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderFeesCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ShareholderFeesColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderFeesColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/ShareholderFeesData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_ShareholderFeesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ShareholderFeesTableTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/FeesAndExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Fees [Table]"
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "oef_StrategyHeading": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "StrategyHeading",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy [Heading]"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "oef_StrategyNarrativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "StrategyNarrativeTextBlock",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://www.dreyfus.com/20240830/role/DocumentRiskReturnSummaryUnlabeledBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Narrative [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "oef_StrategyPortfolioConcentration": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "StrategyPortfolioConcentration",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/InvestmentStrategy"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Strategy Portfolio Concentration [Text]"
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "oef_SupplementToProspectusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "SupplementToProspectusTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/N1aCover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplement to Prospectus [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r1"
     ]
    },
    "oef_ThirtyDayTaxEquivalentYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ThirtyDayTaxEquivalentYield",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Tax Equivalent Yield"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_ThirtyDayYield": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ThirtyDayYield",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_ThirtyDayYieldCaption": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ThirtyDayYieldCaption",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield Caption [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_ThirtyDayYieldColumnName": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ThirtyDayYieldColumnName",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield Column [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_ThirtyDayYieldPhone": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "ThirtyDayYieldPhone",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Thirty Day Yield Phone"
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "oef_YearToDateReturnLabel": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/oef/2024",
     "localname": "YearToDateReturnLabel",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year to Date Return, Label [Optional Text]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "ck0000914775_index_Bloomberg_Global_Aggregate_Index_Hedged_reflects_no_deductions_for_fees_expenses_or_taxesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "index_Bloomberg_Global_Aggregate_Index_Hedged_reflects_no_deductions_for_fees_expenses_or_taxesMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Bloomberg Global Aggregate Index (Hedged)* reflects no deductions for fees, expenses or taxes",
        "label": "index_ Bloomberg_ Global_ Aggregate_ Index_ Hedged_reflects_no_deductions_for_fees_expenses_or_taxes Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_index_FTSE_ThreeMonth_US_Treasury_Bill_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "index_FTSE_ThreeMonth_US_Treasury_Bill_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FTSE Three-Month U.S. Treasury Bill Index reflects no deductions for fees, expenses or taxes",
        "label": "index_ FTSE_ Three Month_ US_ Treasury_ Bill_ Index_reflects_no_deductions_for_fees_expenses_or_taxes Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_index_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "index_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FTSE World Government Bond Index reflects no deductions for fees, expenses or taxes",
        "label": "index_ FTSE_ World_ Government_ Bond_ Index_reflects_no_deductions_for_fees_expenses_or_taxes Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_index_Hybrid_Index_60_MSCI_World_Index_and_40_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "index_Hybrid_Index_60_MSCI_World_Index_and_40_FTSE_World_Government_Bond_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hybrid Index (60% MSCI World Index and 40% FTSE World Government Bond Index) reflects no deductions for fees, expenses or taxes",
        "label": "index_ Hybrid_ Index_60_ MSCI_ World_ Index_and_40_ FTSE_ World_ Government_ Bond_ Index_reflects_no_deductions_for_fees_expenses_or_taxes Member"
       }
      }
     },
     "auth_ref": []
    },
    "ck0000914775_index_MSCI_World_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.dreyfus.com/20240830",
     "localname": "index_MSCI_World_Index_reflects_no_deductions_for_fees_expenses_or_taxesMember",
     "presentation": [
      "http://www.dreyfus.com/20240830/role/DisclosureRiskReturnDetailDataElementsBNYMellonDynamicTotalReturnFund",
      "http://xbrl.sec.gov/rr/role/PerformanceTableData"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MSCI World Index* reflects no deductions for fees, expenses or taxes",
        "label": "index_ MSCI_ World_ Index_reflects_no_deductions_for_fees_expenses_or_taxes Member"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "1",
   "Subsection": "a",
   "Paragraph": "3"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "2",
   "Subsection": "a"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "c",
   "Paragraph": "instruction",
   "Sentence": "1",
   "Clause": "b"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "iiii",
   "Clause": "A"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "d",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "7"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "27A",
   "Subsection": "e"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1",
   "Subparagraph": "b"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "1",
   "Subparagraph": "d",
   "Sentence": "i"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2",
   "Subparagraph": "a",
   "Sentence": "i"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2",
   "Subparagraph": "c"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "2",
   "Subparagraph": "d"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "a"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "b"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Sentence": "i"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Sentence": "ii"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "c",
   "Sentence": "iii"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "d"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "d",
   "Clause": "B",
   "Sentence": "ii"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "d",
   "Sentence": "iii"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "e"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Sentence": "i"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Sentence": "vi"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "3",
   "Subparagraph": "f",
   "Sentence": "vii"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "4"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "4",
   "Subparagraph": "f"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "5"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instruction",
   "Paragraph": "6",
   "Subparagraph": "a"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "3",
   "Subsection": "instrution",
   "Paragraph": "3"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "a"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Clause": "instruction"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Clause": "A"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "1",
   "Subparagraph": "iv"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "i"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "instruction",
   "Clause": "1",
   "Subclause": "a"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "instruction",
   "Clause": "3",
   "Subclause": "b"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "instruction",
   "Clause": "3",
   "Subclause": "c"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "3"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "3",
   "Subclause": "c"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "a",
   "Sentence": "2"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "instruction",
   "Clause": "d",
   "Sentence": "2"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "C"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Clause": "c",
   "Sentence": "2"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Sentence": "A"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Sentence": "B"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Section": "4",
   "Subsection": "b",
   "Paragraph": "2",
   "Subparagraph": "iv",
   "Sentence": "D"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Section": "2",
   "Publisher": "SEC",
   "Name": "Form N-1A",
   "Subsection": "a"
  }
 }
}